Hacker News new | ask | show | jobs
by notacoward 1886 days 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.

1 comments

Oh 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".
this 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.
Holy Molly, learned about git bisect, ty paulmd. HN comments amazes me, I always learn a thing or two.
And the relief when you see your name is nowhere near the defect.
Yes!