Comment Re:Ahhhh, C++ (Score 1) 757
Java solved it correctly -- just copy the pointer, instead of overloading the '=' operator. When you you see a simple statement like shown below in C++,
a = b;
you may be unaware that an assignment operator overloaded function may be lurking in there and the side effects that are caused by it. It would be worse if b were part of a function/method's arguments. It's just poor design -- add hacks to solve a problem and end up creating more problems.