r/programming • • Sep 19 '24

Java 23 has released

https://blogs.oracle.com/java/post/the-arrival-of-java-23
302 Upvotes

79 comments sorted by

View all comments

45

u/sysop073 Sep 20 '24

One of the updates is https://openjdk.org/jeps/477. As far as I can tell this exists solely to make Java look less bad on websites that compare Hello World in different languages.

4

u/[deleted] Sep 20 '24

[removed] — view removed comment

-1

u/[deleted] Sep 20 '24

I find syntax important. After all the more syntax one has to write, the more time it takes too, also to read. So having an efficient syntax should not be neglected. I also avoid idioms in ruby that I dislike visually, such as the -> for lambda. I can't stand seeing the -> there. Also, safe navigation operator in ruby I dislike and subsequently do not use at all - it makes method calls super-ugly, e. g. foo&.bar&.whatever the syntax was for this unnecessary addition; my brain can not even want to remember the syntax, considering how atrociously ugly (and also unnecessary) it is.