5 ms·
Unfortunately, that isn't necessarily true. In my experience a "complex" piece of code is more often a piece of code you just don't understand. You should gen
by j_baker 17y ago
Unfortunately, that isn't necessarily true. In my experience a "complex" piece of code is more often a piece of code you just don't understand. You should generally try to understand a piece of code before you dismiss it as overly complex.
- richcollins 17y agoIt isn't necessarily true but it usually is. Developers spend way too much time getting cute, optimizing for the infrequent case. Choosing a slight increase in verbosity in favor of simplicity of implementation is usually a better decision.