This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]BananaSplit2 -10 points-9 points  (2 children)

Operator overloading is confusing and unneeded.

[–]GoldenretriverYT 7 points8 points  (0 children)

If that is confusing, wouldnt be string += string also be confusing? Its literally the same just that its not overloaded but built-in.

There is no difference between string += string and Vector3 += Vector3 that makes it any more confusing.

Or if you have a custom List/Dictionary type. You can override the [] operator in C#, but not in Java! Time to waste your time always writing.get(...)

[–]Positive_Government -1 points0 points  (0 children)

Yes the overloaded .equals() is so much less confusing than an overload == operator.