News for hackers. Stuff that matters.
Re:The Current State of Java Value Types by kjeetgill on Thursday June 21, 2018 @08:38PM (#17370357)
I know it's not quite what you're asking for but Java's annotations allow for pretty reasonable and compose-able preprocessors to implement things like this. Checkout lombok's @Builder annotation https://projectlombok.org/features/Builder

There are no comments on this comment yet.