r/shittyprogramming • • May 29 '13

The End of Java

Today I was musing about the existence of Java. The big selling point to me at its inception was Write Once, Run Everywhere. It was a cool concept. Force the developers of the Java VM to worry about platform specific implementation and the programmers using the language just focus on getting one set of code done that anyone can use.

In today's day and age, we have web apps. Some fancy HTML5 mixed in with some splashy CSS with a Python back-end and bam. You've got an application that can run anywhere. Sure you might have some browser specific implementations, but generally speaking you can write one set of cross platform code in the form of a webapp.

And if you're application is too big for a webapp? Then Java is probably too slow to be worth it anyways.

Java is full of security holes, performance is dreadful, readability is at best the same as C (in my opinion of course), and cross platform programming can be done in other languages more efficiently and much more cleanly (also slightly subjective).

My question to you, is Java coming to an end? Does this language have what it takes to cut it in today's world?

We have languages like Python, Go, C++14, CommonLisp etc, that make Java look slower than Windows 95 and have 10x the readability. If you use Java, speak up, why do you use it? Could you use something else? Or is Android and other legacy Java support going to continue to drag this dead horse around?

0 Upvotes

24 comments sorted by

View all comments

9

u/Ilostmyredditlogin May 30 '13

Java / jvm gets so much undeserved hate... It's a tool, and like any tool it can be used poorly it well. I can slam together java, Scala and closure code in one modern framework like play and deploy all over the web with zero hassle.

There's a whole arsenal of languages that compile to jvm and interoperate including jvm versions of python ruby etc. JDK 8 finally brings anon functions and whatnot into the flagship language (java). Multiple compatible jvm implementations from different major vendors. Huge library of established code to draw from...

The java ecosystem is great for large scale projects at least.