Tag Groovy for Beginners

Groovy – Keywords

Groovy, being a Java-like language written for the Java platform, shares most of its keywords with Java. However, Groovy introduces a few additional keywords of its own. In this post, we’ll explore these new keywords that have been introduced in…

Groovy: Hello World

If you're coming from Java, you already know the drill — class declaration, public static void main, System.out.println… just to say "Hello." Groovy throws all of that out the window. One line: println "Hello, World!" — and you're done.
Groovy is a JVM language built to cut through Java's boilerplate, and in this post we'll walk through exactly how it does that — from running your first script, to compiling it, to peeking inside the .class file Groovy generates for you under the hood. If Java is the full suit and tie, Groovy is your favourite hoodie that somehow still gets the job done.