Two Laptop Bag*
The moose likes Groovy and the fly likes Best Features? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Best Features?" Watch "Best Features?" New topic
Author

Best Features?

Aaron Porter
Greenhorn

Joined: Feb 26, 2007
Posts: 13
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.
Dierk König
author
Ranch Hand

Joined: Nov 01, 2006
Posts: 43
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.

cheers
Dierk
Aaron Porter
Greenhorn

Joined: Feb 26, 2007
Posts: 13
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?
Pedro Fracarolli
Greenhorn

Joined: Sep 03, 2008
Posts: 20
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Best Features?