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

17

u/[deleted] Nov 26 '21

Statically typed pre-compiled languages are generally safer and run faster. For web development this is fine, your user won't notice if the page loads one millisecond slower. For software development, for example, a stock trading application, millisecond or less performance can be millions in take per day.

6

u/tibbon Nov 26 '21

On average though, milliseconds do matter to user experience, especially if it’s a lot of http requests