One of the challenges facing any large development effort is ensuring that all developers follow the same coding standards. Maintaining coding standards, which is "a set or rules or guidelines for formatting code", has numerous benefits including helping lower the cost of code maintenance, enabling new developers to learn the code base faster and overall lower cost of ownership. This link talks about the benefits of coding standards in a very concise and easy to understand way.
http://www.valid-computing.com/benefits-of-coding-standards.html
The Android development team has its own code standards that they use for the Android source. It's published here. http://source.android.com/source/code-style.html I try to follow these standards the best that I can, although individual projects may have their own set of standards that should be followed. The important thing is to have standards and to make sure that everyone uses them.
No comments:
Post a Comment