Groovy
ELI5 — The Vibe Check
Groovy is Java with the suit jacket off and sleeves rolled up. It makes Java more fun by adding dynamic typing, closures, and a relaxed syntax. Most people know it as 'the language Jenkins pipelines are written in.'
Real Talk
A dynamic, optionally-typed language for the JVM that enhances Java with scripting capabilities, closures, and a more concise syntax. Groovy is widely used for Gradle build scripts, Jenkins pipeline definitions, and as a testing DSL with Spock framework.
Show Me The Code
def names = ['Alice', 'Bob', 'Charlie']
def greeting = names
.findAll { it.length() > 3 }
.collect { "Hello, $it!" }
println greeting
When You'll Hear This
"Every Gradle build file is Groovy — you're writing it whether you realize it or not." / "Groovy's Spock framework makes writing tests almost enjoyable."
Related Terms
Java
Java is one of the most widely used languages in enterprise software. It's verbose but extremely robust.
Jenkins
Jenkins is the grandpa of CI/CD tools. It's been building code since 2011 and has a plugin for literally everything.
Kotlin
Kotlin is like Java's cooler younger sibling who went to art school and came back with null safety and coroutines.