This week's book giveaway is in the Artificial Intelligence and Machine Learning forum.
We're giving away four copies of Succeeding with AI and have Veljko Krunic on-line!
See this thread for details.
Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

Ruby or Groovy

 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the major differences between the two in terms of capabilities of the two?
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, to me Ruby as a language seems nicer and more powerful than Groovy. Having said that, Groovy can be easier for a Java developer to learn since a lot of its constructs are almost like valid Java code.

Both Ruby (through JRuby) and Groovy can be run on a JVM and thus integrate with Java libraries so there's not that much of a difference, although integrating Groovy to a Java application is probably slightly easier.
 
author
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I feel Ruby is a much more powerful language than Groovy. Groovy has a lot of language features which seem to be similar to Groovy and Python, and it has great integration with JAVA itself. But writing things in Groovy just doesnt feel very natural to me. With Jruby now you can have the same access to the JVM, while harnessing the full power and expressiveness of Ruby.
 
    Bookmark Topic Watch Topic
  • New Topic