News for hackers. Stuff that matters.
Re:Java 23: The New Features Are Officially Announced by Tainnor on Wednesday April 17, 2024 @11:08AM (#40065781)
Maybe it's worth noting that a very similar looking article from the same website was recently flagged and is dead because it appeared to be AI generated nonsense: https://news.ycombinator.com/item?id=39872271

I haven't checked if this one is correct.

Re:Java 23: The New Features Are Officially Announced by omajid on Wednesday April 17, 2024 @11:39AM (#40066227)
This one is partially nonsense too. Here's a snippet that starts talking about super() and then abruptly switches to string templates.

> These include statements before super(…), which would give developers greater freedom in expressing constructor behavior – meaning string templates. This would make it easy to express strings that include values computed at run time – meaning scoped values. This would enable sharing of immutable data within and across threads; and implicitly declared classes and instance main methods.

Re:Java 23: The New Features Are Officially Announced by cryptonector on Wednesday April 17, 2024 @01:44PM (#40067886)
All of that stuff about strings is utter nonsense. And it doesn't link the JEP for statements before super (https://openjdk.org/jeps/447).
Re:Java 23: The New Features Are Officially Announced by ptx on Thursday April 18, 2024 @12:16PM (#40077755)
The conclusion of the article is clearly nonsense. How would the features presented, which include an API for generating JVM bytecode, "make it easier for beginning programmers to write programs without needing to understand the programming language features designed for larger or enterprise application development"?

It might be plagiarized from an Infoworld article [0] which also talks about these features and uses a similar phrase – "make it easier for beginning programmers to write programs without needing to understand language features designed for large programs" – but there it specifically refers to "implicitly declared classes and instance main methods", i.e. JEP 463 [1].

[0] https://www.infoworld.com/article/3714933/jdk-23-the-new-fea...

[1] https://openjdk.org/jeps/463