Why Java Doesn't Need Operator Overloading (and Very Few Languages Do, Really)

Paul D. Anderson paul.d.removethis.anderson at comcast.andthis.net
Tue Apr 14 15:02:50 PDT 2009


Sounds like someone needs a strong dose of D!!

http://java.dzone.com/articles/why-java-doesnt-need-operator

The comments bounce between "operator overloading is always bad because you can do idiotic things with it" and "operator overloading is essential because sometimes you really need it".

How about a language where operator overloading is available for the cases where you do really need it, but isn't available in general?

Hmmm...

Paul



More information about the Digitalmars-d mailing list