Why Have Code Conventions 点击打开链接
Code conventions are important to programmers for a number of reasons:
- 80% of the lifetime cost of a piece of software goes to maintenance.
- Hardly any software is maintained for its whole life by the original author.
- Code conventions improve the readability of the software, allowing engineers to understand new code more quickly and thoroughly.
- If you ship your source code as a product, you to make sure it is as well packaged and clean as any other product you create.
编码规范对程序员非常重要的若干原因:
▪ 软件:80%的时间都是处于维护。
▪ 几乎没有那个软件的维护是由原编写者进行的。
▪ 编码规范可以改善软件的可读性,使工程师理解新的代码更快速,更彻底。
▪ 如果你将您的源代码作为产品发布,您得确保有一个很好的包装而且确保清晰度与其他您创建的产品一致(??????????????)。
学习英语中。
2012,加油。共勉。
http://pgtimes.net/article/157