It also has a very mature runtime environment, multithreads well, and handles huge scale. Node is a lot better than it used to be, but it it is still compared to the JVM a less mature and scalable platform.
Also, a really good SOMETHING developer will be a lot more productive than an average ANYTHING developer; if you want to lean into shorter development time, hire really good people, and let them use the tools they are best at.
Yes, and it seems like OP is already kind of aware of a major advantage of Java when he makes the edit and says by speed he means development time. What about other speeds? Speed of computation is pretty damn important for many applications.
As far as I know, Java is the fastest portable OOP language. As long as this remains the case, Java will have value.
Indeed. Every time I need to build something reliable, resilient, with known tools I choose Java. Verbosity is the only downside, but it has everything you will ever need and probed to death XD
As I’ve grown older I actually favor verbosity in a lot of ways. Can’t stand troubleshooting a magical two lines of code that have an immense amount of automagic built into them. Would much rather see the full loop with clear callouts to the individual functions.
I was on board of that train as an early Kotlin adopter but although I'm still a Kotlin fan I actually think that particular argument doesn't hold much water. Writing Java code in Kotlin's style is exactly as null safe as native Kotlin code is. The only nuance is a compiler error versus a static analysis error. And because Kotlin insists on being null safe you have to start working around it every time you work with null-first libraries (which is pretty much most of time in the real world). Your mileage may vary of course but I find myself writing idiomatic J21 code way more and Kotlin way less as the two converge.
It’s literally that simple. I would also add that LOTS of corporate codebases are written in Java. Apparently I pulled the short straw and got a codebase full of Perl and C++…
View all comments
746
u/HaMMeReD Jun 10 '24
Building software takes skills, java skills are common, thus Java is common.
Java also has an incredibly mature ecosystem (i.e. maven packages) and ways to utilize the ecosystem in more modern ways (i.e. Kotlin).