Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Riobe
1 karma · joined Jul 2, 2015 (11y ago) · 1 submissions
Submissions
comment 7y ago ·
link
·
parent
If your values are expensive to compute like that, then you'd have the object return a function that would call foo(), bar(), and so on; and you wouldn't call them all to setup the map in the first place.