The Artima Developer Community
Sponsored Link

Java Community News
A. Sundararajan Compares Java, Groovy, and Ruby Syntax

1 reply on 1 page. Most recent reply: Sep 19, 2006 4:04 AM by Achilleas Margaritis

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Frank Sommers

Posts: 2642
Nickname: fsommers
Registered: Jan, 2002

A. Sundararajan Compares Java, Groovy, and Ruby Syntax Posted: Sep 18, 2006 11:50 AM
Reply to this message Reply
Summary
A. Sundararajan compiled a comparison of Java, Groovy, and Ruby syntax and programming constructs. Written for the Java developer, he provides 33 points of comparison for these languages, and includes short code snippets to illustrate each syntax elements. While still a work in progress, it can serve as a quick introduction to these languages.
Advertisement

In a recent blog post, A. Sundararajan wanted to give quick reference points in Ruby and Groovy syntax for Java developers. He compares these languages on 33 specific syntax features, showing that Ruby and Groovy support a few more features than the Java language. Apart from those few features, the main difference seems to be Java's relative verbosity in syntax.

While this comparison is written with a Java developer in mind, it doesn't show or highlight differences in these languages that go beyond mere syntax. In many ways, those difference are more important than syntax.

What are your favorite Ruby or Groovy idioms that you find hard to express elegantly in Java?


Achilleas Margaritis

Posts: 674
Nickname: achilleas
Registered: Feb, 2005

Re: A. Sundararajan Compares Java, Groovy, and Ruby Syntax Posted: Sep 19, 2006 4:04 AM
Reply to this message Reply
> <p>While this comparison is written with a Java developer
> in mind, it doesn't show or highlight differences in these
> languages that go beyond mere syntax. In many ways, those
> difference are more important than syntax.</p>

The only conclusion I have is that those languages are almost identical. Their differences do not really matter a lot for realizing a product.

Flat View: This topic has 1 reply on 1 page
Topic: A. Sundararajan Compares Java, Groovy, and Ruby Syntax Previous Topic   Next Topic Topic: Bill Pugh on the FindBugs 1.1 Release

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use