jQuery in Action, 3rd edition
The moose likes Java in General and the fly likes standardisation for coding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "standardisation for coding" Watch "standardisation for coding" New topic

standardisation for coding

Stephen Batsas
Ranch Hand

Joined: Jan 22, 2002
Posts: 117
Help Ranchers Please!!
Im looking for a reference or url that defines the coding standard for Java 2:
Code style eg does the brace go adjacent to the
identifier or under the identifier? re both styles acceptable in the same program?
spaces between keywords and braces and
Comments style
Javadoc comments
What is compulsory and what is optional
Comments for methods
Design documentation. UML? which version or can you make your own using combination?
Please help as resource is required urgently.
I am preparing a standardisation for university course.
Stephen Batsas
Angela Lamb
Ranch Hand

Joined: Feb 22, 2001
Posts: 156
Sean MacLean
Ranch Hand

Joined: Nov 07, 2000
Posts: 621
There is also an excellent book call "Elements of Java Style". It is a wee little pocket reference but has a ton of information and guidelines beyond simple syntax standardization. We have a couple of copies that constantly circulate around the office. Check it out here

Stephen Batsas
Ranch Hand

Joined: Jan 22, 2002
Posts: 117
Thanks Ranchers!!!
Info is great help.
Stephen Batsas
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

There is Javaranch's own Chicken Coop
I agree. Here's the link: http://aspose.com/file-tools
subject: standardisation for coding
It's not a secret anymore!