News for hackers. Stuff that matters.
Re:The Oracle Java Platform Extension for Visual Studio Code by jupp0r on Wednesday October 18, 2023 @01:11PM (#37931628)
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.
Re:The Oracle Java Platform Extension for Visual Studio Code by marginalia_nu on Wednesday October 18, 2023 @01:18PM (#37931721)
I'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.

Re:The Oracle Java Platform Extension for Visual Studio Code by jupp0r on Wednesday October 18, 2023 @04:17PM (#37934204)
You get all of this by choosing Kotlin or Scala.
Re:The Oracle Java Platform Extension for Visual Studio Code by marginalia_nu on Wednesday October 18, 2023 @04:21PM (#37934270)
Yeah, but why though? Seems like mostly a bandaid for old Java version.
Re:The Oracle Java Platform Extension for Visual Studio Code by exabrial on Wednesday October 18, 2023 @05:46PM (#37935209)
I agree with this. Java8, Java17, and Java21 make Scala/Kotlin far less appealing while being mainstream.
Re:The Oracle Java Platform Extension for Visual Studio Code by pjmlp on Thursday October 19, 2023 @04:27AM (#37940065)
The only reason to pick Kotlin instead of Java is because Google says so on Android.
Re:The Oracle Java Platform Extension for Visual Studio Code by talent_deprived on Wednesday October 18, 2023 @01:23PM (#37931815)
It's probably the most widely chosen language for new projects today across the board from enterprises to startups.
Re:The Oracle Java Platform Extension for Visual Studio Code by jupp0r on Wednesday October 18, 2023 @04:19PM (#37934242)
I'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-t...

Re:The Oracle Java Platform Extension for Visual Studio Code by empthought on Thursday October 19, 2023 @07:07AM (#37941180)
Every 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.

Re:The Oracle Java Platform Extension for Visual Studio Code by jupp0r on Thursday October 19, 2023 @06:20PM (#37949562)
What Java Application can't be written in Javascript/node?
Re:The Oracle Java Platform Extension for Visual Studio Code by marginalia_nu on Thursday October 19, 2023 @07:06PM (#37950022)
You can write anything in JS, but it's not suitable for a great deal of things.
Re:The Oracle Java Platform Extension for Visual Studio Code by The_Colonel on Wednesday October 18, 2023 @01:53PM (#37932239)
Java/JVM is still the best platform for large/complex/enterprise server applications.
Re:The Oracle Java Platform Extension for Visual Studio Code by jupp0r on Wednesday October 18, 2023 @04:16PM (#37934198)
Java is not the JVM. Lots of new projects on the JVM go with Kotlin or Scala.
Re:The Oracle Java Platform Extension for Visual Studio Code by wiseowise on Wednesday October 18, 2023 @05:15PM (#37934873)
JVM is the Java. It is literally reference implementation. JVM changes to accommodate changes in the Java language, not the other way around.
Re:The Oracle Java Platform Extension for Visual Studio Code by jupp0r on Wednesday October 18, 2023 @05:53PM (#37935283)
Are you saying that there are no other languages than Java that target the JVM?
Re:The Oracle Java Platform Extension for Visual Studio Code by belfthrow on Wednesday October 18, 2023 @06:51PM (#37935872)
No he's saying that java gets the features implemented from the bytecode spec first. And you well know it, or maybe you have no idea and are just a kotlin fan boy...
Re:The Oracle Java Platform Extension for Visual Studio Code by vips7L on Thursday October 19, 2023 @07:47AM (#37941562)
The VM also knows about Java the language, its idioms, and language features. It’s a two way street.
Re:The Oracle Java Platform Extension for Visual Studio Code by The_Colonel on Wednesday October 18, 2023 @07:18PM (#37936099)
You'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.

Re:The Oracle Java Platform Extension for Visual Studio Code by wiseowise on Thursday October 19, 2023 @02:51AM (#37939405)
Whatever problems it has, Java calls the shots on JVM.
Re:The Oracle Java Platform Extension for Visual Studio Code by pjmlp on Thursday October 19, 2023 @04:25AM (#37940057)
Nah, a drop in the Java ocean outside Android.
Re:The Oracle Java Platform Extension for Visual Studio Code by sigzero on Wednesday October 18, 2023 @02:03PM (#37932364)
That is simply not true. In the Enterprise space it is probably in the top two.
Re:The Oracle Java Platform Extension for Visual Studio Code by leosanchez on Wednesday October 18, 2023 @02:33PM (#37932760)
What's the other one ? C# ?
Re:The Oracle Java Platform Extension for Visual Studio Code by jupp0r on Wednesday October 18, 2023 @04:20PM (#37934250)
What does "Enterprise space" even mean?
Re:The Oracle Java Platform Extension for Visual Studio Code by Scarbutt on Wednesday October 18, 2023 @05:22PM (#37934956)
Medium to big companies outside the HN bubble.
Re:The Oracle Java Platform Extension for Visual Studio Code by jupp0r on Wednesday October 18, 2023 @05:57PM (#37935319)
Do you mean non-tech/non-software companies?
Re:The Oracle Java Platform Extension for Visual Studio Code by redditor98654 on Thursday October 19, 2023 @06:51AM (#37941057)
No quite. Amazon (including AWS), Google, Netflix, Snowflake. From my own personal experience.
Re:The Oracle Java Platform Extension for Visual Studio Code by dlandis on Wednesday October 18, 2023 @04:30PM (#37934376)
> 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.

Re:The Oracle Java Platform Extension for Visual Studio Code by wiseowise on Wednesday October 18, 2023 @05:13PM (#37934845)
> It's less of a popular choice for new projects than it ever was.

[Citation needed]