This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I've been programming in Java since '96 and I've taken a look at a lot of different languages. None of them has kept my attention because generally I haven't seen much benefit over using Java.
I've heard several programmers whom I respect praising Groovy. I know that it reduces the amount of code required for common functions such as reading a file which in turn reduces errors. What features should I look at to get me hooked? I mostly do web development if that makes any difference.
If you do web development, check out http://grails.org. It makes developing a Java Enterprise app bases on Spring and Hibernate a real pleasure to work with.
Joined: Feb 26, 2007
I looked at Grails briefly a few years back but it wasn't what I was looking for. I'm currently a huge fan of Stripes and there are quite a few Stripers who like Groovy including Tim Fennell, creator of Stripes. There has been discussion about making it easier to use Groovy with Stripes.
I'm very comfortable with Java and really enjoy my work. What I'm wondering is if there is any reason for me to try Groovy. What features of Groovy would convince me that it's worth learning?
In my opinion, The main reason that makes one interested in languages like Groovy is the actual discussions that've been happening due to the rise of dynamic languages. If you want to get used with concepts like dynamic datatypes or closures within the Java world, Groovy may be one of the best options. Java is a great language, but Groovy seems to be better suited for quick result tasks, although I'm not very experienced with it.