Defining Useful Coding Practices?
markmcb writes “A NASA engineer recently wrote about his disappointment that despite having well-documented coding practices, ‘clever’ solutions still made the code he has to maintain hard to follow. This got me thinking about the overhead spent at my own company regarding our code. We too have best practices that are documented, but most seem to focus on the basics, e.g., comments, modularity, etc. While those things are good, they don’t directly ensure that quality, maintainable code is written. As the author points out, an elegant one-liner coupled with a comment from a few revisions ago makes for a good headache. I’m curious what experience others have had with this, and if you’ve seen manageable practices that ultimately offer a lot of value to the next programmer down the line who will have to maintain the code.”