3 ms·
Yeah, this kind of automatism turns nullary functions into brittle things where you never know when or how often they get evaluated. Even if you have no side-ef
by layer8 2y ago
Yeah, this kind of automatism turns nullary functions into brittle things where you never know when or how often they get evaluated. Even if you have no side-effects, a potentially expensive computation is in itself a side-effect that you want to control when it happens.
A nullary function is a different type from its return type, and should better be handled as such.
- deleted 2y ago[deleted]