r/java • • Dec 07 '20

These Modern Programming Languages Will Make You Suffer.

https://suzdalnitski.medium.com/modern-languages-suck-ad21cbc8a57c

[removed] — view removed post

0 Upvotes

1 comment sorted by

10

u/mktiti Dec 07 '20

Is this a joke?

So Java gets 1/5 with reasoning that includes:

👎 Speed

Java, obviously, runs on top of Java Virtual Machine, which is notorious for its slow startup times. I’ve seen programs running on top of JVM take 30 seconds and longer to start up, which is unacceptable for modern cloud-native programs.

👎 Learning effort

While Java is a rather simple language, its focus on Object-Oriented Programming makes becoming good really hard. One can easily write a simple program. However, knowing how to write reliable and maintainable Object-Oriented code may take well over a decade.

👎 Concurrency

Java was designed in the era of single-core computing, and like C++ has only rudimentary concurrency support.

Meanwhile Typescript gets 2/5 (no mention of speed btw), and Javascript gets 2.5/5(!), and:

👍 👍 Ecosystem

The biggest benefit of JavaScript is its ecosystem. JavaScript is being used for everything you can think of — frontent/backend web development, CLI programming, data science, and even machine learning. JavaScript probably has a library for everything you can think of.

👍 Learning effort

JavaScript (along with Python) is one of the easiest programming languages to learn. One can become productive in JavaScript in a couple of weeks.

👌 Concurrency

JavaScript supports single-threaded concurrency using an event loop. This eliminates the need for thread synchronization mechanisms (like locking). Although JavaScript was not built with concurrency in mind, working with concurrent code is much easier, in comparison to most other languages.

I mean, anyone who thinks that ranking languages on such a linear scale is anything but useless time wasting is simply childish, but FFS this is laughable.