File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ruby and the fly likes Java and Ruby Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Languages » Ruby
Reply Bookmark "Java and Ruby" Watch "Java and Ruby" New topic
Author

Java and Ruby

Dhayalan Karunakaran
Greenhorn

Joined: Jun 11, 2008
Posts: 9
What is the resemblance and difference between Java and ruby.


I.J.K.Dhayalan MCA,<br />Software Engineer.
Rusty Shackleford
Ranch Hand

Joined: Jan 03, 2006
Posts: 490
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.

Even though this is from the official Ruby site, I believe that this is one of the most fair, although very short, comparisons around. http://www.ruby-lang.org/en/documentation/ruby-from-other-languages/
[ June 13, 2008: Message edited by: Rusty Shackleford ]

"Computer science is no more about computers than astronomy is about telescopes" - Edsger Dijkstra
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Java and Ruby
 
Similar Threads
Ruby In Practice - Compare with Java
ruby on rails career
Rack and Servlets
What will keep Ruby from becoming bloated like Java
Rails, Ruby and Ruby on Rails