• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
Bartenders:
  • Himai Minh
  • Carey Brown
  • Frits Walraven

groovy or ruby

 
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey,

i want to learn one of them can you ref to good advice.

Thank you
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Grab a book or search for online tutorials. If your are undecided which to learn, go through a couple of tutorials on each and even try a Rails and Grails tutorial. Then get a book for the one you liked the best.
 
avihai marchiano
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i mean to advice - of what do you think is more important to learn.
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not sure why trying Rails and Grails should help you decide whether to learn Groovy or Ruby. But Peter is right in that you should give both languages a run through and see which you like. As far as what is important, they both are. I prefer groovy because it was a very easy transition from Java.
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Gregg Bolinger wrote:Not sure why trying Rails and Grails should help you decide whether to learn Groovy or Ruby.



I threw that in because if you are going to write web apps you might want to know what you will have to go through to do so for each language.
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The two languages are incredibly similar. If you learn either one, transitioning to the other isn't very difficult.

I was doing Groovy professionally last year and this year I've been doing Ruby.

Probably the best way to decide which one to focus on is to see if either one has a user group in your city. It helps to really learn how to use the language if you can make friends with the people that can give you pointers in person.
 
Bartender
Posts: 2407
36
Scala Python Oracle Postgres Database Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

avihai marchiano wrote:i mean to advice - of what do you think is more important to learn.



Depends what you want to do with them. If you think you might want to take advantage of Java technology (Spring, Hibernate, etc) on the JVM/JEE platform, then Groovy and Grails are probably the way to go. Actually, you might like to use Grails as your way into Groovy, as it's a fun and easy way to start using Groovy while also playing with JEE web apps etc.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

chris webster wrote:

avihai marchiano wrote:i mean to advice - of what do you think is more important to learn.



Depends what you want to do with them. If you think you might want to take advantage of Java technology (Spring, Hibernate, etc) on the JVM/JEE platform, then Groovy and Grails are probably the way to go. Actually, you might like to use Grails as your way into Groovy, as it's a fun and easy way to start using Groovy while also playing with JEE web apps etc.



Well, technically he could use JRuby and achieve the same thing. So it is literally whatever you prefer.
 
Marc Peabody
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Gregg Bolinger wrote:Well, technically he could use JRuby and achieve the same thing. So it is literally whatever you prefer.


Totally. Both languages have JVM support and allow interaction with other Java code.
 
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I started of learning Ruby, but at the end I decided to learn Groovy because I found it easier to transition from Java.
 
author
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Marc Peabody wrote:

Gregg Bolinger wrote:Well, technically he could use JRuby and achieve the same thing. So it is literally whatever you prefer.


Totally. Both languages have JVM support and allow interaction with other Java code.


There are varying degrees of integration between Java and other JVM languages. I recall hearing Charles Nutter say something to the effect that their first goal with JRuby was to be the best Ruby implementation. Seamless interop with Java was, at best, a secondary concern. Whereas, Groovy had that as a primary goal from the beginning. I haven't used JRuby but from others that I've heard from it appears that it's not nearly as easy to integrate with Java as Groovy is.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic