3 ms·
>Java is improving faster with more pattern matching, records and functional programming features. Other JVM hosted languages are becoming less appealing Java
by DeathArrow 4y ago
>Java is improving faster with more pattern matching, records and functional programming features. Other JVM hosted languages are becoming less appealing
Java is the standard for JVM. However, if Java was the perfect tool for any job, no other language would have been implemented over JVM.
I would rather use Kotlin than Java, who, to me, seems bloated and ancient. Also Java, the greater programming environment, kind of forces all things to be objects, unneeded inheritance, unneeded abstraction and patterns on top of patterns. I kind of like to use a more data oriented approach than object oriented approach, or pattern oriented approach, or Uncle Bob oriented approach. I strongly think that the shortest path is the best path, the less abstraction the better, the less CPU cycles used for something, the better.
- tmtvl 4y agoThe thing is Java is improving, so it has become better suited for a variety of jobs. Clojure is 15 years old, which means when it released Java was at version 1.6. ABCL was separated from J in 2008, when Java was at version. Kotlin was released in 2011, when Java 1.7 was released. Groovy was released in 2007, like Clojure. Scala was released in 2004, when we were at Java 1.5. GNU Kawa was registered on Savannah in 2001, when we had J2SE 1.3. Now just because Java has become a lot better in the interval doesn't mean those languages have no purpose, but if Java in 2001 had all the nice features (streaming API, try with resources, the Optional type, switch expressions,...) it has now then the JVM landscape may very well have looked very different.
- winkelwagen 4y agoThink it’s a different mentality, it’s nice that languages like Java and c# improve at such a rapid pace. But the every improvement also makes it worse and more confusing. I’ve used c# 4 years ago, 4 years of Java am now back to c#. Yes they added nice features on paper but it it made the languages so much more complex to write. The syntax is often similar but different. Just enough for me to need to Google basic syntax. Think most great developers use a subset of any programming language anyway. Can’t wait for c# or Java the good parts
- pjmlp 4y agoC is the standard for UNIX. However, if C was the perfect tool for any job, no other language would have been implemented over UNIX. JavaScript is the standard for the Web. However, if JavaScript was the perfect tool for any job, no other language would have been implemented over JavaScript. And so on and on and on... Platform languages have an advantage for day 1 access to every single feature the platform offers, while guest languages always have to deal with impedance mismatch and additional tooling.