3 ms·
Same. Chaining all of those together does nothing useful, is arguably less readable, and the JIT will optimize out the intermediate assignments. So there’s not
by monkpit 1y ago
Same. Chaining all of those together does nothing useful, is arguably less readable, and the JIT will optimize out the intermediate assignments. So there’s not really any reason to do that big chain (unless you’re talking about HoC/composable functions, which this example is not).
- edoceo 1y agoFuture me has to re-solve this issue. And Past Me is an idiot. I gotta write code both those fools can understand.