News for hackers. Stuff that matters.
Re:Java 17 / JDK 17: General Availability by Cojen on Tuesday September 14, 2021 @01:25PM (#28527911)
I think the best thing we have is the new `record` feature. You can declare a small public record before the method with the return type, and by using the `var` keyword, the caller doesn't need to repeat the type declaration.

There are no comments on this comment yet.