Hacker News new | ask | show | jobs
by HiddenBek 6752 days ago
Stevey had a series of articles where he implemented Sokoban in a bunch of JVM languages, and Groovy did very poorly. I can't find a live version of the article, but here's archive.org's copy:

http://web.archive.org/web/20060720091555/www.cabochon.com/~...

Groovy just seems pointless to me. It's taken too long to get anywhere, and I can't think any reason to use it over JRuby, Rhino or Scala. JRuby and Rhino have the benefit of being implementations of popular languages, basically getting years of experience, tooling, docs and code for free. Scala adds novel ideas not found in other JVM languages, and makes certain types of problems much easier than they would otherwise be. Groovy is a less powerful version of Ruby with a Java like syntax. It's awfully hard to get excited about that.

2 comments

One of Groovy's stated aims is that any .java file is also valid groovy. It's a strict superset in other words.

... which is, in a word, retarded. I like java, but, if you're gonna start over, please, oh, please, fix some of the things that need fixing but aren't getting fixed because of backward compatibility issues. You've got a blank slate, use it!

What annoyed me was his complaint about if (a = b) ... - yet I believe every other dyn language does that perfectly validly.