I was going to share this myself. It's really great knowing that it stuck a chord with others.
So much to takeaway from that post. For me it is 1. Its important how you structure your code (flags and global state can wreak havoc on a program) 2. No matter how bad your code base is - it can at least be functional if you have good testing