3 ms·
I enjoy Groovy. It's a passport to the JVM that has all the advantages of Python and few of its downsides. The philosophy is a unique combination of being incr
by zmmmmm 7y ago
I enjoy Groovy.
It's a passport to the JVM that has all the advantages of Python and few of its downsides. The philosophy is a unique combination of being incredibly developer friendly (kitchen sink APIs etc, every syntactical convenience you can imagine thrown in), but in every other aspect being ruthlessly Java-syntax compatible. You get both dynamic and static typing rolled in, super powerful AST transforms that give you static-compile-time metaprogramming capabilities other languages struggle to achieve. Yet it competes with Bash for single-line utility scripts.
- vorg 7y agoApache Groovy's apparent rise from #81 to #15 on Tiobe's index [1] over the past 12 month is disturbing, though. If it doesn't have the downsides of Python, then why would someone fabricate its popularity in a search engine? And if Groovy is so "ruthlessly" Java-syntax compatible, why doesn't it have lambda syntax over 5 yrs after they were added to Java? [1] https://www.tiobe.com/tiobe-index/ https://www.tiobe.com/tiobe-index/
- zmmmmm 7y agoYou seem to be leaping to a lot of conclusions and making a lot of assumptions based on conjecture as the premise for your questions. It would be off topic and probably pointless to pursue them.
- fastbmk 7y agoYou are wrong. Groovy had lambdas even before Java 8. Netflix used Groovy only because of that exact feature.
- vorg 7y agoNo, I am right, because I didn't say Apache Groovy didn't have lambdas, I said it still didn't have the Java 8 lambda syntax in response to the comment that Groovy was so "ruthlessly" Java-syntax compatible. So you are wrong about me being wrong. > Netflix used Groovy Does Netflix still use Groovy? You make it sound like they no longer use it for new coding projects. If they do, you should have written "Netflix uses Groovy" and said what they still use it for.
- protonimitate 7y agoI love love love groovy. Unfortunately my current team pushes hard against it because apparently its "java but not strongly typed" and therefore inferior. The collection utils are great ( [].collate is a personal fave ).