11 May
2003
11 May
'03
10:49 p.m.
Hi! Actually, you can write comprehensible code in c++ too - that of course is just one of your options. bye Denes
Why ? Operator overloading is one of the best features of C++. it makes the code much more readable if you have to handle complex objects.
IMO it makes code unreadably confusing, at least when you overload certain operators. Even worse still is when you overload == but not !=, + but not +=, etc. so that it's inconsistent!
Not talking about the case if you redefine == to behave as != and vice versa :)
A'rpi / Astral & ESP-team