Quick Cheat Sheet: Groovy

Bruno Delb
Open DevOps Academy
4 min readJan 12, 2023

--

In this story, I provide a quick Cheat Sheet for the Groovy language:

  • basic,
  • variables,
  • methods,
  • classes,
  • branching,
  • loops,
  • lists and maps,
  • operators.

Basics

To create a Hello World application:

println "Hello world"

To add a single line comment:

//  This is my single line…

--

--

Blockchains, DevOps, Agile Coaching, development, testing, Cloud, Management 3.0, ITIL. It defines me.