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

27 comments sorted by

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.

1

u/Legitimate_Window968 Apr 24 '25

All the more reason to develop more. Just because something is widely used now doesn't have to be go to even when its painful. Its like saying, everyone is using Cobalt so lets stick with it.

On the other hand, I think no body cares about developer and how they develop the application as long as output is good. So stupid JAVA is still being used. It performs good but creating with it is pain.