2 ms·
Groovy is an amazing language. Don't judge it based on Gradle. It is used for all kinds of things. Gradle sort of interacts with it in a highly toxic way and br
by zmmmmm 6y ago
Groovy is an amazing language. Don't judge it based on Gradle. It is used for all kinds of things. Gradle sort of interacts with it in a highly toxic way and brings out all its bad parts. If you use it the opposite way - as a better version of Java with mostly structured code, plenty of explicit typing and avoiding the highly "magic" aspects that Gradle focuses on, then its a great language for application development. Certainly better for high level things than Java - but completely 100% compatible with the Java ecosystem.
- Too 6y agoCould you link to any githubs with examples of such good groovy?
- zmmmmm 6y agoYou could have a look at something like Geb - this is a completely random class I picked: https://github.com/geb/geb/blob/master/module/geb-core/src/main/groovy/geb/content/DefaultPageContentSupport.groovy https://github.com/geb/geb/blob/master/module/geb-core/src/m... So it looks mostly like Java, its just making use of Groovy's niceties and more powerful constructs in various parts to make the coding nicer.