News for hackers. Stuff that matters.
Re:Java 25 Officially Released by robmccoll on Tuesday September 16, 2025 @02:03PM (#45265627)
I think a lot of it is the people using it and certain parts of the culture. There are a lot of Enterprise TM programmers that seem to believe as many layers of abstraction and as much verbosity as possible with little tiny methods that do practically nothing leads to better solutions. It is totally possible to write concise and pragmatic code with Java. One thing that will be a thorn in your side though is null handling. The traditional approaches increase line count and branching. The newer(ish) Optional-based null handling is quite verbose but in width.
Re:Java 25 Officially Released by ifwinterco on Tuesday September 16, 2025 @04:52PM (#45267877)
In my opinion at this point null handling is the one remaining thing about Java that is genuinely bad technically
Re:Java 25 Officially Released by munksbeer on Wednesday September 17, 2025 @05:46AM (#45273750)
I haven't seen a NPE in the wild for years. We use NullAway in our build - works great.