4 ms·
It's not going anywhere due to masses of legacy code. It's less of a popular choice for new projects than it ever was.
by jupp0r 3y ago
It's not going anywhere due to masses of legacy code. It's less of a popular choice for new projects than it ever was.
- marginalia_nu 3y agoI'd totally pick Java for a new project in 2023. The stable and mature ecosystem and fantastic tooling along with very low amount of library churn makes it one of the better options for anything server-side.
- jupp0r 3y agoYou get all of this by choosing Kotlin or Scala.
- marginalia_nu 3y agoYeah, but why though? Seems like mostly a bandaid for old Java version.
- talent_deprived 3y agoIt's probably the most widely chosen language for new projects today across the board from enterprises to startups.
- jupp0r 3y agoI've not seen a new project started in Java in a decade, and it's pretty far down in the StackOverflow developer survey [1]. Do you have some data to back your claim up? [1]: https://survey.stackoverflow.co/2023/#section-most-popular-technologies-programming-scripting-and-markup-languages https://survey.stackoverflow.co/2023/#section-most-popular-t...
- deleted 3y ago[deleted]
- empthought 3y agoEvery language above Java in that list (except possibly TypeScript) is forced by the development target or domain. JavaScript and HTML are forced by web dev. SQL is forced by databases. Python is forced by machine learning. Bash is forced by targeting UNIX. Also there’s no such thing as “an HTML project” or “a SQL project.” So I don’t think your survey link is telling you what you seem to think it’s telling you.
- jupp0r 3y agoWhat Java Application can't be written in Javascript/node?
- marginalia_nu 3y agoYou can write anything in JS, but it's not suitable for a great deal of things.
- deleted 3y ago[deleted]
- The_Colonel 3y agoJava/JVM is still the best platform for large/complex/enterprise server applications.
- jupp0r 3y agoJava is not the JVM. Lots of new projects on the JVM go with Kotlin or Scala.
- pjmlp 3y agoNah, a drop in the Java ocean outside Android.
- wiseowise 3y agoJVM is the Java. It is literally reference implementation. JVM changes to accommodate changes in the Java language, not the other way around.
- jupp0r 3y agoAre you saying that there are no other languages than Java that target the JVM?
- The_Colonel 3y agoYou're loose with the terms. Java is not "literally reference implementation", it's the platform language of JVM. While this is a major advantage, Java has also its fair amount of problems, some of them unfixable (or rather, the Java team is unwilling to fix them). It looks like Java will never get a proper fix for the whole in the type system named null, while there are some great languages running on JVM solving that.
- sigzero 3y agoThat is simply not true. In the Enterprise space it is probably in the top two.
- leosanchez 3y agoWhat's the other one ? C# ?
- deleted 3y ago[deleted]
- jupp0r 3y agoWhat does "Enterprise space" even mean?
- Scarbutt 3y agoMedium to big companies outside the HN bubble.
- jupp0r 3y agoDo you mean non-tech/non-software companies?
- redditor98654 3y agoNo quite. Amazon (including AWS), Google, Netflix, Snowflake. From my own personal experience.
- dlandis 3y ago> It's less of a popular choice for new projects than it ever was. Totally disagree. I think it was at its trough of popularity in the Java 8 initial release timeframe around 10 years ago, when many companies were still stuck on Java 6 and other languages had moved way ahead. In the last few years, since around Java 17, there has been a ton of enthusiasm and I think it would be the best choice for a huge number of use cases.
- wiseowise 3y ago> It's less of a popular choice for new projects than it ever was. [Citation needed]