

Java技术
2005: 03 04 05 06 07 08
09 10 11 12
2006: 01 02
Asp.net
2005: 07 08 09 10 11 12
2006: 01 02

一、Java代码约定
语法告诉我们what code it is possible to write—what the machine will understand,而约定(style、conventions)告诉我们what you ought to write—what the humans reading the code will understand.
按照一致、简单的约定写出的代码,将是maintainable, robust, and contain fewer bugs.
为什么需要约定,Sun给出的原因有:
编写Java代码常用的约定有两个:
二、TIOBE Coding Standard Methodology和Jacobe
see:http://www.tiobe.com/tpci.htm
代码美化工具:Jacobe,缺省包含了一个完全按照Sun的代码规范的格式化配置文件。