Do in the morning or end of day, if in the zone.
Do in the morning or end of day, if in the zone.
I’ve reviewed many PRs where they were trying to add a feature or solve a bug but were not achieving the goal. It passed everything by whatever standards but only reading the code made you realize - it wasn’t going to give you the result you desired.
Not an unexpected issue in my experience, the price of doing business.
Tests don't catch that. Unless the tests are written by someone other than the developer, which honestly I haven't seen.
As a contrived example if a developer interprets that they need to multiply instead of add, their method and tests might work 100% but they will give the wrong result. Even worse, in certain cases 2 * 2 = 2 + 2 so they will give the right result with the wrong calculation.
Paraphrasing, "you should be endeavoring to make unique mistakes…"