What is groovy programming language

Groovy is an object-oriented programming language for the Java platform. It is an agile and dynamic language with features similar to those of Python, Ruby, Perl, and Smalltalk. The Groovy can be used as a scripting language for the Java Platform.

Groovy uses a Java-like bracket syntax. It is dynamically compiled to Java Virtual Machine (JVM) byte code and inter operates with other Java code and libraries. Most of the Java code is also syntactically valid Groovy code.

If you are already a java developer, this Groovy makes modern programming features available to Java developers with almost-zero learning.

Groovy supports Domain-Specific Languages and other compact syntax so your code becomes easy to read and maintain.

You also can write shell and build scripts easy with its powerful processing primitives, OO abilities and an Ant DSL.

Groovy increases developer productivity by reducing scaffolding code when developing web, GUI, database or console applications.

Groovy simplifies testing by supporting JUnit testing and mocking out-of-the-box.

All existing java classes and libraries are integrated with Groovy.

Groovy is like a super version of Java programming language. It can leverage Java’s enterprise capabilities but also has cool productivity features like closures, DSL support, builders and dynamic typing.

The compiled code of Groovy class is nothing the Java bytecode so you can use it anywhere where you can use Java.

Groovy is very much powerful language. You will see the basics of Groovy language in next entries.