Way back in the day, my boss made a lovely observation - 'write your code like it's going to be maintained by an axe murderer who has your home address, and nothing to lose.'
Attribution: “Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” — John F Woods, 1991 in comp.lang.c++¹
(I do not know who first replied, ‘I do know where I live.’)
(I do not know who first replied, ‘I do know where I live.’)
¹ https://groups.google.com/forum/#!msg/comp.lang.c++/rYCO5yn4...