Premature optimization is a common disease amongst C and C++ devs. I often come across code that is written in an obscure/complex way just because someone thought execution speed triumphs code readability.
In most cases (around 9 times out of 10) it is on a non-time-critical path of the code and the developer who wrote it didn't even bother to run a profiler on it.
My work would be significantly easier if we could learn to prioritize code readability.
mgaunard|4 years ago
klyrs|4 years ago
tylerhou|4 years ago