Coding Horror

programming and human factors

Coding For Violent Psychopaths

Today's rumination is not for the weak of heart. It's from the venerable C2 Wiki page Code For The Maintainer:

Always code as if the person who ends up maintaining your code is a violent psychopath who knows where you live.

carny

Perhaps a little over the top, but maybe that shock to the system is what we need to get this important point across to our fellow developers.

If scare tactics don't work, hopefully you can develop a grudging respect for the noble art of maintenance programming over time. It may not be glamorous, but it's 99% of the coding work in this world.

Written by Jeff Atwood

Indoor enthusiast. Co-founder of Stack Overflow and Discourse. Disclaimer: I have no idea what I'm talking about. Find me here: https://infosec.exchange/@codinghorror