9 ms·
You might want to check out Groovy. It's built on the JVM, you can use all the standard library and third party Java packages including stuff off Maven, and yo
by keypusher 13y ago
You might want to check out Groovy. It's built on the JVM, you can use all the standard library and third party Java packages including stuff off Maven, and you can even just run straight Java code through it. However, at any time you can also drop into Groovy land, and write in a much more concise and functional style. Closures are very common (just look at anything in Gradle), it was clearly influenced by Python/Ruby as far as syntax and type optionality, there's a REPL (groovysh), there's a modern web framework (Grails), all in all it's pretty nice.
- virtualwhys 13y agoMeh, used Groovy for 2 years followed by a year of Grails 1.3.x hell. Both the language and the framework have likely improved since then, but after switching to Scala + Play there's simply no going back ;-) p.s. Haskell + Yesod (or Snap) look interesting as an alternative web stack to explore, but otherwise not seeing much out there that would draw me away from Scala land.
- keypusher 13y agoInteresting. Scala always put me off, the sytax just seems so nasty. Does that just get better after working with it for a while?
- virtualwhys 13y agoSo much better ;-) There's a learning curve, can't hit the ground running as you can with Groovy, but with Groovy there's a ceiling; with Scala the only ceiling is (perhaps) Haskell and for that you have to leave the JVM.
- vorg 13y agoLanguages where you can "hit the ground running" always have a ceiling. If you churn out working code quickly, you're offloading the real work onto someone else in the future. Real world programming, like business, is all about borrowing from the future, intending to default on the debt.