News for hackers. Stuff that matters.
Re:Code's Worst Enemy by raju on Wednesday December 19, 2007 @11:06AM (#91169)
"Going back to our crazed Tetris game, imagine that you have a tool that lets you manage huge Tetris screens that are hundreds of stories high. In this scenario, stacking the pieces isn't a problem, so there's no need to be able to eliminate pieces. This is the cultural problem: they don't realize they're not actually playing the right game anymore." Well Said...

On another note, has anyone here played with Groovy? I played it for a while, and I am not sure why there seems to be so much negativity about it.

Re:Code's Worst Enemy by HiddenBek on Wednesday December 19, 2007 @03:14PM (#91251)
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.

Re:Code's Worst Enemy by rzwitserloot on Wednesday December 19, 2007 @05:04PM (#91286)
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!

Re:Code's Worst Enemy by michaelneale on Wednesday December 19, 2007 @10:15PM (#91383)
What annoyed me was his complaint about if (a = b) ... - yet I believe every other dyn language does that perfectly validly.
Re:Code's Worst Enemy by johnrob on Wednesday December 19, 2007 @01:43PM (#91220)
A lot of people, myself inlcuded, want to shun Groovy because it lives in Java land. We are bitter people.