4 ms·
I apply the 80/20 rule recursively. It’s something I caught myself doing at some point and now I tell junior devs to do the same thing. If you spent most of a
by hinkley 9y ago
I apply the 80/20 rule recursively. It’s something I caught myself doing at some point and now I tell junior devs to do the same thing.
If you spent most of a day on something, nobody is going to notice an extra twenty minutes to fix it up a bit more. Especially if it means fewer production issues with that code. On a sane project the interesting problems are given to the most reliable people, not the fastest. So look at th code one more time than you deem necessary.
Try to look at it the way someone else will or the way you will in six months when you touch it again. Do the commit comments match the code? Can you tweak the code a bit to make it mean what you said? Then do it.