News for hackers. Stuff that matters.
Re:Paving the on-ramp to Java by Noe2097 on Thursday September 29, 2022 @07:28AM (#33019075)
Couldn't agree more.

Recently I tried another take on the same idea: using default methods in Interfaces. It has nice properties, as it enables ~mixins in a way not dissimilar to what Scala provides, and enables overriding (e.g. for tests). Give it a try, it's ... refreshing :)

Re:Paving the on-ramp to Java by mcculley on Thursday September 29, 2022 @10:00AM (#33020723)
I am also getting a lot of value from default methods in interfaces. Java really could benefit from a new syntax on top of the modern VM that favors immutability.
Re:Paving the on-ramp to Java by grodriguez100 on Friday September 30, 2022 @12:20PM (#33036891)
Like… kotlin?
Re:Paving the on-ramp to Java by mcculley on Friday September 30, 2022 @08:41PM (#33042573)
Like Kotlin, but Kotlin also makes a lot of compromises to accommodate Java’s warts.