I do find it interesting that groovy is never mentioned as a possible "java.next".
I find groovy very cool, but has some drawbacks. Because it is so tied to Java you get cool stuff on the groovy classes, but they are often just thin wrappers around Java classes. So for a print on a groovy array you get beautiful output, for a java array you get the old crappy [...@19719f Stack dumps are heinous: http://jira.codehaus.org/browse/GROOVY-2944 The "scripting" aspect leaves a lot to be desired. In most dynamic languages you can make command line calls easily. Like in Ruby you can do system "ls -al". In Groovy you have an execute method on a string like "ls -al".execute(). But it doesn't really work as you would expect. In windows you have to do "cmd /c dir" for reasons I don't understand. In Ruby, you just do "dir". There are situations on the unix command line where you have to specify the executable as well instead of just he pure command line. This might seem small, but it makes the scripting aspect of Groovy much less useful than it could be (and much more frustrating). And one other annoyance, there is no unified doc for groovy classes that lists all the groovy-fied methods in addition to the standard java methods, so you have to look at both the groovy docs and java docs to see the available methods. If any of the above is incorrect, please let me know :) I will say this, writing Groovy is much more enjoyable than writing Java. You never have threads about "the java" way to code things, because of the verbose nature of the language. Hang out on a groovy group and you will see tons of threads about the most "groovy" or elegant way to code something (same with Python/Ruby). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---
