• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Is Javaranch Coding Standard applicable for SCJD ?

 
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I very much appreciate the Javaranch Java Programming Style Guide.

But is this style guide applicable for the SCJD exam

Regards,
Darya
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 1033
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 1855
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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?
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Eat that pie! EAT IT! Now read this tiny ad. READ IT!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic