News for hackers. Stuff that matters.
Re:New language features since Java 8 to 17 by grishka on Sunday October 24, 2021 @05:12PM (#28981978)
Kotlin relies on the developer to write readable code, and just generally offers way too many ways of doing the same thing. Too much freedom of expression. Java, by virtue of being more verbose, requires writing everything out explicitly, so you really have to expend some extra effort to make your code unreadable.
Re:New language features since Java 8 to 17 by V-2 on Monday October 25, 2021 @05:09AM (#28985843)
"generally offers way too many ways of doing the same thing"

Such as?

"Java, by virtue of being more verbose, requires writing everything out explicitly, so you really have to expend some extra effort to make your code unreadable."

Boilerplate is what makes code unreadable. Getters, setters, backing fields, all that noise, takes lots of space getting in the way of grasping the meaning of the code. Java is too much about how instead of what.

Re:New language features since Java 8 to 17 by grishka on Monday October 25, 2021 @11:20AM (#28988807)
Incapsulation is very much overrated.