Tag Java

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.

A primer to Data Types

Learn the fundamentals of data types in programming. Understand the difference between primitive and composite types, static vs dynamic typing, and how type systems work in languages like Java, GoLang, and Python.