Java.next, Common ground in Groovy, Scala, and Clojure, Part 1

Explore how these next-generation JVM languages handle operator overloading

From the developerWorks archives

Neal Ford

Date archived: December 19, 2016 | Last updated: May 14, 2013|First published: March 12, 2013

The Java.next languages (Groovy, Scala, and Clojure) have more commonalities than differences, converging toward common ground in many of their features and conveniences. This installment explores how they each address a longstanding deficiency in the Java language the inability to overload operators. It also discusses the related concepts of associativity and precedence.

16 Apr 2013 - Added links to "The Java.next languages" and "Common ground in Groovy, Scala, and Clojure, Part 2" in Resources.

14 May 2013 - Added a link to "Common ground in Groovy, Scala, and Clojure, Part 3" in Resources.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Java development, Open source
ArticleID=860926
ArticleTitle=Java.next: Common ground in Groovy, Scala, and Clojure, Part 1
publish-date=05142013