3 ms·
> The code is self-explanatory Never overestimate this, there is no upside to the one time it isn't. > Reading over-the-top verbose code is just as bad as the
by cirrus3 4y ago
> The code is self-explanatory
Never overestimate this, there is no upside to the one time it isn't.
> Reading over-the-top verbose code is just as bad as the opposite
No it isn't, it is just as easy, and when can help it pays off, there is no downside.
> It's difficult to describe the result succinctly even with a variable name - use comments
This isn't an either or, if it deserves a comment by all means use one, but that doesn't negate the benefits of thoughtfully named vars.