These are Sun's reasons for code conventions:
There are other reasons to follow standard coding standards, but Table C.1 might offer the best reason to follow the advice in this appendix. Table C.1. Code Style Grade Points for the Certification Assignment
Bad code style can be enough to fail the certification assignment. If you use a bizarre style or simply don't follow the industry standard for Java coding, you will upset the evaluator , who needs to find only one more thing wrong to give your project a terrible grade. There is no excuse for losing points in this area. You might find fault with the base code (some say it was done by an intern, but that is putting it too harshly) and the project parameters (some would like to see a real Java Database Connectivity [JDBC] assignment), but don't throw away points by using odd indentation and unclear language in your comments. It doesn't take a high IQ to do well in this portion of the assignment; you simply need to dedicate adequate time to writing clean code and comments. |