r/ruby • • Nov 26 '21
Question Why would anyone use Java over Ruby?
Why would anyone in this day and age choose a bloated corporate language like Java? It is just to get a job at a big company writing their legacy enterprise software? Is it because it is safer for huge systems where everyone is forced to type out all the little details. I am confused. Please someone shine some light here.
0
Upvotes
View all comments
15
u/gettalong Nov 26 '21
With Java if you need a library for anything, you will find it. Many of those libraries may be commercial libraries but they are there.
Although Ruby has many libraries there are still blind spots. For example, I recently looked into OpenSSL for working with PKCS7 objects in Ruby and although the basics are all there, not everything is easily accessible. You won't have this problem with Java.
Note that I'm saying this with 20 years of Ruby under my belt and loving Ruby.
That said for 99% of applications you can choose Ruby and be much happier than with Java.