Overloading in Java is Groovy

Posted by VISITOR on Oct 27, 2005 8:53 AM EDT
developerWorks; By IBM
Mail this story
Print this story

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!"

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.

Full Story

  Nav
» Read more about: Story Type: News Story; Groups: Community, Eclipse

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.