Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Is Javaranch Coding Standard applicable for SCJD ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Is Javaranch Coding Standard applicable for SCJD ?" Watch "Is Javaranch Coding Standard applicable for SCJD ?" New topic
Author

Is Javaranch Coding Standard applicable for SCJD ?

Darya Akbari
Ranch Hand

Joined: Aug 21, 2004
Posts: 1855
Hi,

I very much appreciate the Javaranch Java Programming Style Guide.

But is this style guide applicable for the SCJD exam

Regards,
Darya


SCJP, SCJD, SCWCD, SCBCD
Jim Coble
Greenhorn

Joined: Oct 27, 2002
Posts: 10
Since the Javaranch Coding Standard is offered as an alternative to Sun's Coding Conventions and differs from them in certain respects, I would not recommend use of the Javaranch Coding Standard for the SCJD exam. Rather, I think you should follow Sun's Code Conventions.


Jim Coble<br />SCJP 1.4<br />SCWCD 1.4
peter wooster
Ranch Hand

Joined: Jun 13, 2004
Posts: 1033
Originally posted by Jim Coble:
Since the Javaranch Coding Standard is offered as an alternative to Sun's Coding Conventions and differs from them in certain respects, I would not recommend use of the Javaranch Coding Standard for the SCJD exam. Rather, I think you should follow Sun's Code Conventions.


I believe that its consistency and readability that count. I personally dislike the Sun coding standard, but have chosen to use it and use checkstyle to enforce it. If you chose a different coding style, be sure to document what it is in your choices.txt.
Darya Akbari
Ranch Hand

Joined: Aug 21, 2004
Posts: 1855
Originally posted by peter wooster:


I believe that its consistency and readability that count. I personally dislike the Sun coding standard, but have chosen to use it and use checkstyle to enforce it. If you chose a different coding style, be sure to document what it is in your choices.txt.


Can I use Javaranch's Style Guide and reference it in choices.txt or should I better get used to Sun's Code Convention to be on the safe side, at least for the SCJD exam?
Mike Vess
Ranch Hand

Joined: Aug 25, 2004
Posts: 41
It is consistency and readability that counts. I choosed not to follow Suns coding standard but i documented how "my style" looks like in the choices doc.


What you thought was right today may need a refactoring tomorrow...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is Javaranch Coding Standard applicable for SCJD ?
 
Similar Threads
What do y'all think
what sort of indenting you prefer?
Is this bad form?
Coding Style Standards
Beginning curly brace's position?