IBM has an Intro to Ruby for Java Programmers

Andrew Glover has written very nice Ruby language article for IBM’s developerWorks titled Ruby off the Rails . Its intended as an introduction to Ruby specifically for Java programmers.

What I particularly liked about this article was the way he compared the Java way to the Ruby way with specific and realistic code. This really illustrates the advantage that Ruby has is some very concrete ways.

Take a look at the Java code for the Definition and Word classes. How long does it take to understand how the code works? Now do the same thing with the Ruby implementation of these same two classes.

Ruby is much more concise than Java. The lower level of “code noise” makes Ruby easier to comprehend at a glance. I know both languages very well, and I can tell you from experience that this makes both writing and reading code much more productive.

If you are a Java programmer who is curious about Ruby, then this article is for you.

(via Obie)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s