为什么我们需要编码规范

在oracle网站上看到的,觉得要应以重视!
http://www.oracle.com/technetwork/java/codeconventions-139411.html#16729

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%的时间都是处于维护。
▪ 几乎没有那个软件的维护是由原编写者进行的。
▪ 编码规范可以改善软件的可读性,使工程师理解新的代码更快速,更彻底。
▪ 如果你将您的源代码作为产品发布,您得确保有一个很好的包装而且确保清晰度与其他您创建的产品一致(??????????????)。

你可能感兴趣的:(Java综合)