Where can I find the most up-to-date official style conventions/guidelines (like how to properly name variables, methods, formatting, etc) for Java?
+3
A:
Sun's code conventions can be found here: http://java.sun.com/docs/codeconv/
oxbow_lakes
2009-08-26 11:59:39
Although the revision date is April 20, 1999, these are the most recent "official" style conventions and guidelines.
Thomas Owens
2009-08-26 12:01:18
it hasn't been revised since 1999...? i found this site earlier but didn't think it was correct but i guess it must be...
hatorade
2009-08-26 12:01:25
Many organizations use this as a baseline and expand on or modify these guidelines as necessary.
Thomas Owens
2009-08-26 12:04:04
There is very little that was added to the language since 1999. Some of the missing parts can easily be derived from existing parts: Naming enum values? equivalent to "Constants". Naming annotations? equivalent to interfaces.
Joachim Sauer
2009-08-26 12:06:18
Or get their pdf from here :http://www.ambysoft.com/essays/javaCodingStandards.html
krishna
2009-08-26 12:26:59