Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX: No mention of Sun Java Programming Style Guide

 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no mention that Sun's Java Programming Style Standard is to be followed: does that give some leeway ( for example C style bracketing )?
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Barry,
Under the old exams, it was an explicit item listed in the Marking Criteria. Namely the major section "General Considerations" (Total 58 marks (37%)) was made up of:
ease of use (23) - 15%
coding standards and readability (23) - 15%
clarity and maintainability (12) - 7%
In the new exam, I think you get 100 points (25%) for "General Considerations". Is this broken down into sub sections at all?
If they break down the point scheme, and coding standards is not in the list, then you may be OK to use C coding standards.
However if they do not break down the points, or they leave the some points allocated to a non specific area, then I think you would be safer to follow Sun's official standards, if for no other reason than the examiners would be used to taking marks off for non standard coding, so they may still take marks off.
Regards, Andrew
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Under the old exams, it was an explicit item listed in the Marking Criteria.

And even if it is not in the new exam, I would strongly recommend following Java Coding Conventions
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic