| Author |
Code Conventions still up-to-date ?
|
Jean-Claude Rouvinez
Ranch Hand
Joined: Aug 26, 2003
Posts: 35
|
|
Hi, I found the code conventions at this location: http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html Are they up-to-date (Revised April 20, 1999)? If no, where could I find a newer version that reflects the changes of the versions 1.5 or 1.6? Thank you for your help.
|
Jean-Claude
|
 |
Jim Yingst
Wanderer
Sheriff
Joined: Jan 30, 2000
Posts: 18670
|
|
|
There is no more updated version of the code conventions. Although the statement "Revised April 20, 1999" is misleading - it has changed since then. But not recently - not for JDK 5 or 6. For the new features of JDK 5 I would simply follow the example of the code show in the JDK 5 release notes for new language features. For JDK 6 I don't think there are any new features which require new conventions. If you find a contradiction between the JDK 5 release notes and the code conventions, follow the conventions. But for any issue not addressed in the conventions (spacing around generics, enhanced for loops, and enums mostly) follow the release notes examples.
|
"I'm not back." - Bill Harding, Twister
|
 |
 |
|
|
subject: Code Conventions still up-to-date ?
|
|
|