Operator overloading - is it really reasonable to forbid?
Posted
by Gabriel Šcerbák
on Stack Overflow
See other posts from Stack Overflow
or by Gabriel Šcerbák
Published on 2010-05-05T20:19:26Z
Indexed on
2010/05/05
20:28 UTC
Read the original article
Hit count: 210
Java forbids operator overloading, but coming from C++ I do not see any reason for that. In languages where operator symbols are symbols as any other, same rules apply to "+" as to"plus" and there is no problem. So what is the point?
© Stack Overflow or respective owner