Which is better? Groovy VS Java

Agile Coding Dojo #2

Last week, Agile Vietnam organized the second Agile Coding Dojo event. The goal of the Dojo was to practice coding skills in a real-life work situations: write unit test, refactor bad code, etc.

For this second event, Agile Vietnam chose to code in Groovy. Groovy, just like Java runs on the JVM. They invited me to present the simplicity of Groovy syntax over Java syntax. See the slides here.

At the end of the presentation, Hiep Le (the event organizer) asked me if there were situations where Java would be better than Groovy. Below is a my detailed comparison between the two languages.

Continue reading