Y
Hacker News
new
|
ask
|
show
|
jobs
by
ivan_gammel
94 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));