7 ms·
> adding cool stuff like dynamic typing, closures [to Java] Both dynamic-style inferred typing and closure-like lambdas have been added to Java since Apache Gr
by vorg 8y ago
> adding cool stuff like dynamic typing, closures [to Java]
Both dynamic-style inferred typing and closure-like lambdas have been added to Java since Apache Groovy was first released. Groovy's business case has become less compelling as a result.
- mindcrime 8y agoGroovy's business case has become less compelling as a result. By a small margin, yes. Personally, I still find Groovy far more compelling than plain Java, especially when I'm using Grails for "web stuff". For pure backend REST services, I do sometimes go with plain Java and Spring Boot. As the old saying goes "use the right tool for the job". Hell, I'd use COBOL if there was a compelling reason. :-)
- zmmmmm 8y agoI thought that too at first, but actually trying to use lambdas in Java still ends up a lot more verbose and cumbersome than the kind of fluid APIs you can do with Groovy.