Groovy
Groovy is an actively used programming language created in 2003. Apache Groovy is an object-oriented programming language for the Java platform. It is a dynamic language with features similar to those of Python, Ruby, Perl, and Smalltalk. It can be used as a scripting language for the Java Platform, is dynamically compiled to Java virtual machine (JVM) bytecode, and interoperates with other Java code and libraries. Read more on Wikipedia...
17Years Old | 26,851Users | 39Jobs |
- Groovy ranks in the top 1% of languages
- the Groovy website
- the Groovy wikipedia page
- Groovy first appeared in 2003
- Groovy was created by James Strachan
- file extensions for Groovy include groovy, grt, gtpl and gvy
- the Groovy team is on twitter
- tryitonline has an online Groovy repl
- See also: java, python, ruby, perl, smalltalk, objective-c, kotlin, jvm-vm, regex, xml, html, json, android, eclipse-editor, emacs-editor, textmate-editor, visual-studio-code-editor, javascript
- Have a question about Groovy not answered here? Email me and let me know how I can help.
Example code from the Hello World Collection:
// Hello World in Groovy println "Hello World"
Example code from Linguist:
#!/usr/bin/env groovy println "Groovy!"
Example code from Wikipedia:
class Bird implements FlyingAbility {} /* Adds the trait FlyingAbility to the Bird class capabilities */ def bird = new Bird() /* instantiate a new Bird */ assert bird.fly() == "I'm flying!" /* the Bird class automatically gets the behavior of the FlyingAbility trait */
Trending Repos
repo | stars | description |
---|---|---|
pipeline-examples | 2979 | A collection of examples, tips and tricks and snippets of scripting for the Jenkins Pipeline plugin |
gradle-versions-plugin | 2012 | Gradle plugin to discover dependency updates |
Last updated August 9th, 2020