News for hackers. Stuff that matters.
Re:Records and Sealed Types for Java (JEP Draft) by zeroimpl on Monday April 22, 2019 @10:54PM (#19725212)
For Records, can the public read accessor method be overridden? I'm assuming so, otherwise should just make the instance variable public final.
Re:Records and Sealed Types for Java (JEP Draft) by lukecameron on Tuesday April 23, 2019 @12:41AM (#19725663)
ADTs in Java, that's pretty cool. The nice thing it's not really adding anything new in the language, only restricted forms of classes.