Re:A categorized list of all Java and JVM features since JDK...
by bobthepanda on Thursday April 01, 2021 @02:41PM
(#26664446)
Also, a lot of verbosity in Java came from people going off the rails with design patterns to hide crap multiple levels deep in a file with 5+ words in the class name.
If you have a hammer everything’s a nail.
Java improved with "var" keyword (use with caution!) and introduction of records. These are not the only code-shortening features (there are e.g. interface methods, diamond operator, lambdas, convenience "of(...)" methods, even "fluid style"), but they, used well, can really reduce verbosity.