Alex Rivera | Logout

Advantages of Java over Ruby/JRuby

Asked 2009-08-20T09:30:03.217
13

I am learning Java. I have learned and used Ruby. The Ruby books always tell the advantages of Ruby over Java. But there must be some advantages, that's why lots of people (especially companies) use Java and not Ruby. Please tell the absolute(not philosophical!) advantages of Java over Ruby.

Edit
Report

2 Answers

18
  • Many more developers experienced with Java than with Ruby.
  • Many existing libraries in Java (That helps JRuby too).
  • Static typechecking (can be seen as advantage and as disadvantage).
  • Existing codebase that has to be maintained.
  • Good tool-support.
  • More and deeper documentations and tutorials.
  • More experiences with good practices and pitfalls.
  • More commercial support. That's interesting for companies.

Many of these advantages are the result, that the Java-ecosystem is more matured, than that around Ruby. Many of these points are subjective, like static vs. dynamic typing.

answered 2009-08-20T09:33:05.970
2

Network effect. Java has the advantage of more people using Java. Who themselves use Java because more people use Java.

answered 2011-04-04T00:01:02.117

Your Answer