3 ms·
Oh god. I inherited a codebase like this (except in many places it didn't have the log). It was horribly unreliable, and when a customer reported a bug it was a
by nicoburns 6y ago
Oh god. I inherited a codebase like this (except in many places it didn't have the log). It was horribly unreliable, and when a customer reported a bug it was almost impossible to tell what had caused it. The funny thing was they had a pretty extensive e2e test suite. But it was mostly useless because it only tested happy paths. The rule is now that if you touch a file for more than a single-line change, you have to remove any such code.