What is the resemblance and difference between Java and ruby.
I.J.K.Dhayalan MCA,<br />Software Engineer.
Joined: Jan 03, 2006
There are a lot of pointless comparison based on lines of code on the Internet. It is true that you can do the same task in Ruby in 2-3 lines and could take 20 in Java and the ruby code will still be very well written, clear and maintainable. But across the board LOC comparisons don't have much value. Any first year CS student can tell you that LOC isn't everything.