Comment by computerex

5 years ago

I agree with this, with the side note that simple code is better than clever code when working with a team of people for most things. Barring performance constraints, I'd choose the code that's easier to grok/simpler even if it's more LOC.

Yes. Code is read many more times than it's written, so optimise for the common case.