October 28, 2005

Overloading in Java is Groovy

Anonymous Reader writes "Many developers who started out using C++ will admit some nostalgia for overload operators such as + and -. The Java language has banned operator overloading, but upstart Groovy says "bring it on!" Find out what you've been missing all these years. This article introduce you to Groovy's support for operator ad-hoc polymorphism, also known as operator overloading. As any C++ developer will tell you, this stuff is both handy and fun, although it should be approached with a healthy dose of caution."

Link: ibm.com/developerworks


  • Java
Click Here!