Does someone know where I can find the document by Oracle which describes Java code conventions?
This URL is not available anymore, for that reason I created new question for this topic.
http://www.oracle.com/technetwork/java/codeconv-138413.html
When it comes to Java, there are two most common and well-known coding conventions: Oracle's Java Code Conventions and Google's Java Style Guide coding convention.
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 need to make sure it is as well packaged and clean as any other product you create.
Java uses CamelCase as a practice for writing names of methods, variables, classes, packages, and constants.
One option is to use wayback machine, which seems to contain the document (here's direct link to pdf version). However I would also be interested to find out what Oracle did with it and do they intend to get rid of it.
There's a discussion on Oracle forums about this being raised to OTN support, but no response is mentioned.
Update on 17.6.2014: There's now a forum posting added to the site explaining the following:
Those Java Code Conventions were written in 1999 and have not been maintained since.
The information might not be up to date; links within the documents might not work. That is why the pages were removed. Unfortunately there are other sites that point to that document which were not updated.
To avoid confusions we have re-posted the original document –with an appropriate disclaimer about the information not being up to date- while we clean up those other sites.
Try Code Conventions for the Java Programming Language
And indeed, seems the page has been restored.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With