chi3
Joined 9 years ago
Joined 9 years ago
At least for the nobel prize in physics I know it's peers who decide and I'd assume it's the same for the other subjects, and it's not just "arbitrary people who have PhDs within the subject" either, it's a few selected ones who are well known in their fields.
The only real difference between the last two is that the last one shouldn't be sent in as null, isn't it? The test in OPs artictle doesn't really make sense either, because you can switch the values using pointers as well.
However, outside of function signatures, if you write:
int a = 2; int &aref = a; int b = aref;
I'd assume that the compiler is smart enough to optimize away &aref.
Seems weird to me to say that Java "passes by value" when all objects being passed are actually references to objects.
I know I disliked reddit's design when I saw it the first time, and I've spoken to several people who never got into reddit because they disliked the design.
I can see why it'd be interesting to someone with no C/C++ knowledge to get into systems programming though.