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;
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.
[ Parent
| on HN ]
There are no comments on this comment yet.