News for hackers. Stuff that matters.
Re:New language features since Java 8 to 17 by qw on Wednesday October 27, 2021 @11:26AM (#29014574)
I know it's probably to late to add any value to the discussion, but you can write this in Java;

    var list = List.of("carrot", "fox", "explorer")
You are right about the builder, but most projects I have worked with use Lombok and the @Builder annotation to generate the builder automatically. I agree that a native syntax for this would be better.

There are no comments on this comment yet.