News for hackers. Stuff that matters.
Re:All New Java Language Features Since Java 21 by nunobrito on Sunday September 07, 2025 @05:19AM (#45156668)
Yes, please don't get me wrong. There are always a few good things, but like you mention with streams: the person writing it can have an idea of what he was doing but the others afterwards will struggle to make changes and will likely revert the code base to simpler code.

Switch statements got better. I'm also getting used to Paths albeit don't yet understand why File wasn't already good enough. It is difficult to find compelling reasons for upgrading the JDK since I know it will be hassle for everyone that later down the line has to install/run the product.

There are no comments on this comment yet.