The 10 commandments of software development
Posted 14 Sep 2014
A couple of weeks ago fellow senior Bastiaan de Rijber and I were venting some frustration on Skype. We realized that we find ourselves repeating the same tidbits of wisdom over and over again to developers in conversations, code reviews and post mortems on failures, big and and small.
I’ll admit the title seems a bit ‘holier-than-thou’ so I’m going to stick to the theme and do this all biblical style:
- Thou shall not assume, for assumptions are the mother of all fuckups
- Thou shall not blame the tooling, for it's probably thou who has made the mistake
- Thou shall clean up thy shit, for there is no greater pleasure than deleting code
- Thou shall not optimize prematurely, for premature optimization is the root of all evil
- Thou must find the root cause before applying the 'fix'
- Thou shall not practice the black art of multi threading without Jedi assistance
- Thou shall not commit shortly before going home/on vacation/to sleep
- Thou shall review thy code before committing
- Thou shall not proclaim the obvious in comments
- Thou shall not claim 'It works on my machine'