News for hackers. Stuff that matters.
Re:Kotlin Features I miss most in Java by syncopatience on Sunday October 29, 2017 @09:27PM (#15582550)
Couldn't this same reasoning be used to argue that we don't need for loops or functions because we have GOTOs? Boilerplate is tedious and error-prone to write and to read/understand in my experience.
Re:Kotlin Features I miss most in Java by morecoffee on Sunday October 29, 2017 @10:37PM (#15582770)
It cannot. The syntax bloat forces structural cleanliness. A lower level problem is addressed with a higher level fix. It would be better of course to not have bloated syntax, but not at the cost of better program logic.

As for tedium: Java programmers rely heavily on IDEs to "write" most of the boilerplate for them. The IDE fills in tokens automatically, and hides them visually with +/- boxes to the side.

Re:Kotlin Features I miss most in Java by charleslmunger on Sunday October 29, 2017 @10:41PM (#15582784)
But if the bloat is hidden, how is it forcing structural cleanliness?
Re:Kotlin Features I miss most in Java by morecoffee on Sunday October 29, 2017 @10:47PM (#15582807)
Personally I don't hide it, and I do type each token by hand. Since the parent brought up tedium, I wanted to mention that there are solutions to it. IDEs hide bloat, but code review and other tools often don't.
Re:Kotlin Features I miss most in Java by 35bge57dtjku on Monday October 30, 2017 @02:43AM (#15583443)
No, those things aren't even boilerplate.