Update Milestone 9 authored by Shantanu Mishra (shm572)'s avatar Shantanu Mishra (shm572)
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
* a. No method is longer than one page (about 60 lines including comments). * a. No method is longer than one page (about 60 lines including comments).
* b. Math expressions, control expressions (in ifs, whiles, fors, and switches) are as simple as possible. * b. Math expressions, control expressions (in ifs, whiles, fors, and switches) are as simple as possible.
* c. Standard coding idioms (e.g. for (int i=0; i<array.length; ++i)) are used where appropriate. Short private methods are preferred to repeating the same code over and over in different places. * c. Standard coding idioms (e.g. for (int i=0; i<array.length; ++i)) are used where appropriate. Short private methods are preferred to repeating the same code over and over in different places.
* d. No unused methods.
7. **Self-Description** 7. **Self-Description**
* a. Comments are provided whenever the purpose or reason for doing something in the code is obscure. * a. Comments are provided whenever the purpose or reason for doing something in the code is obscure.
... ...
......