Coding Standards
We all code to the exact same standards. We name our classes and methods the same way, we format code the same way. The particular standards arent as important as the principle: we all code the same way, which means that all the code is easily understandable and maintainable by all of us.
If anyone stumbles across a mistake where code doesnt meet the standards, they just fix it.
Fundamentally, we follow the guidelines in Kent Becks book: Smalltalk Best Practice Patterns. Kent provides the rationale for the patterns, and our experience is that they work just fine.
On the contrary, I have a style of coding that I like and that Im used to. I should be allowed to use it.
- You are welcome to use your style. Just not on our project.
(Alistair Cockburn accused Kent and me of playing "Do it My Way or Get Out". Follow the above link for some discussion of that.)
© 1997, 1998, Ronald E Jeffries
ronjeffries@acm.org
http://www.xprogramming.com