I've always thought that a good piece of software should be a work of art, ideally with the kind of sparse elegance associated with products like the iPod. Because I've reviewed a lot of code, I can tell you that beautifully written code is rare. Aside from the deep thought that must go into a good design, I firmly believe in rigorous coding standards. When this is properly enforced, every piece of code you view looks as if I was written by the same person. Thanks to improvements in Integrated Development Environments, achieving this is becoming progressively easier through the use of editor templates. In the past, it was achieved only by encouraging a strong sense of discipline in every developer on the team. Interesting enough, one of my friends Bill Eisenhauer recently posted this entry in which he remembers working with me and found that this approach was infectious. On reflection, I think that rigorous coding standards has a more fundamental effect which is to instill a military-like sense of discipline and order in the team. I have had nothing but good experiences from mandating this practice, and encourage it without hesitation.
Recent Comments