Comment by ivan_gammel
5 days ago
It‘s easier to evolve library code. If Java would ever infer type of constants from initializer (makes more sense than a new keyword), it could look nice and powerful:
private final LOG = lazy(logger(MyThing.class));
No comments yet
Contribute on Hacker News ↗