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)
but,
in Ruby abs functionality is built in the number - -24.abs
Sunday, March 23, 2008
Ruby is more object oriented than Java!
Subscribe to:
Post Comments (Atom)
3 comments:
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?
Twitter is one I can think of
And also http://www.penny-arcade.com/ and Basecamp by 37 signals
Post a Comment