3 ms·
|0 also has the benefit of making your code harder to read and look smart. </s> I wouldn't recommend using this unless you're trying to shove milliseconds in t
by uniclaude 9y ago
|0 also has the benefit of making your code harder to read and look smart. </s>
I wouldn't recommend using this unless you're trying to shove milliseconds in this type of operations.
- JSDave 9y agoYou're in the wrong place. If anyone was going for readability, it'd just be _.sample(['red', 'blue', 'yellow']). 0 chance of OP's bug, 0 chance of nathan's bug. Understand exactly what's going on as soon as you finish physically reading it.
- beaconstudios 9y ago> when the senior developer does the code review
- unwind 9y ago*shave, right? Shoving (in) milliseconds would make it slower. :)