Sunday, March 23, 2008

Ruby is more object oriented than Java!

This simple example proves that Ruby is more object oriented than java.

To find absolute of a number,

in Java we need to use a separate class - Math.abs(-24)


in Ruby abs functionality is built in the number - -24.abs


Anand said...

Yes. I used Ruby on Rails to develop a sample application. I felt its improved oo features.

Is there is any large scale application running in ruby?

Siva Jagadeesan said...

Twitter is one I can think of

Siva Jagadeesan said...

And also and Basecamp by 37 signals