4 ms·
John F. Woods (who I actually knew IRL briefly - nicer guy than his online reputation suggests) said it best. "Always code as if the guy who ends up maintainin
by notacoward 6y ago
John F. Woods (who I actually knew IRL briefly - nicer guy than his online reputation suggests) said it best.
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
I'll just add that the psychopath in question might be your own future self.
- Xunjin 6y agoOh boy... I believe I'm this kind of psycho, when I see my name in a git blame after tracing a bug that I didn't foresee... I feel awful, disgusted, then I fix it and think "You sure are dumbass, now try to be a lesser one".
- paulmd 6y agothis is always fun with git-bisect because if you can reliably reproduce the bug it will always leads you exactly to the commit that caused the problem. Nothing worse than tracing for a half hour and... it spits out your name.
- Xunjin 6y agoHoly Molly, learned about git bisect, ty paulmd. HN comments amazes me, I always learn a thing or two.
- enw 6y agoAnd the relief when you see your name is nowhere near the defect.
- Xunjin 6y agoYes!