2 ms·
I personally find let, also, and friends to be a clarity nightmare. For me, they make reading code harder.
by vips7L 3y ago
I personally find let, also, and friends to be a clarity nightmare. For me, they make reading code harder.
- usrusr 3y agoIt's not always better, I give you that. If something does not work as expected you might even find me transforming code to conventional imperative style. But I feel like I have a much better shot at getting it right in the expression chain style, and in all styles if scopes are not polluted by dubious intermediaries and/or badly named one-callsite functions thanks to letisms. By the time the "let tax" grows too high, chances are that the block in question is big enough to make the "factored into a function tax" bearable.