Y
Hacker News
new
|
ask
|
show
|
jobs
by
nidu
3670 days ago
It could also benefit from constant propagation (iirc the term) where you could write obj.get(Item.name) and both get type check and stay refactoring friendly (though with cost of some more typing).