3 ms·
> 3.17 == possiblyPi Seems bad style to me, but also contrived. Whereas > PI == validate(parseFloat(fetchUserInput({ timeout: minutes(1), defaultOnCancel: 0.0
by dualogy 10y ago
> 3.17 == possiblyPi
Seems bad style to me, but also contrived. Whereas
> PI == validate(parseFloat(fetchUserInput({ timeout: minutes(1), defaultOnCancel: 0.0 })))
as pseudo-code example seems rather more insta-grokkable to me than flipped. Get my drift? And it's lit==varExpr
- optimuspaul 10y agoI don't agree... but I also generally use languages that don't have equality and assignment operators that are so similar that people are prone to mixing up the two.
- dualogy 10y agoWho has ever mixed up == and =? Might glasses be in order? ;) No danger in languages allowing for FP-style immutables (whether via `readonly` or `const`) luckily