2 ms·
> Anytime I have something 'Java-JVM' that isn't performance critical, I write it in groovy. But even that mindset is falling away given the ability to use @Com
by vorg 14y ago
> Anytime I have something 'Java-JVM' that isn't performance critical, I write it in groovy. But even that mindset is falling away given the ability to use @CompileStatic.
The @CompileStatic-based static compilation in Groovy only began being written 1 year ago (in October 2011), and was only mature enough to be included in a production-ready version of Grails (version 2.2) a few weeks ago (December 2012).
Scala has had static compilation from the very beginning, and was rewritten between Scala 1.x and Scala 2.x.
Stick to dynamic typing if you're using Groovy, even stuff that isn't performance critical.