add everything in main function point deduction

This commit is contained in:
Jidong Xiao
2023-10-12 12:48:23 -04:00
parent 08bfb4ae35
commit cb32caa736

View File

@@ -209,7 +209,8 @@ You must do this assignment on your own, as described in the [Collaboration Poli
- Two or more of name, collaborators, or hours not filled in. (-2)
- OVERALL CLASS DECLARATION & IMPLEMENTATION AND CODING STYLE (Good class design, split into a .h and .cpp file. Functions > 1 line are in .cpp file. Organized class implementation and reasonable comments throughout. Correct use of const/const& and of class method const. ) (6 pts)
- No credit (significantly incomplete implementation) (-6)
- Function bodies containing more than one statement are placed in the .h file. (-2)
- Putting almost everything in the main function. It's better to create separate functions for different tasks. (-2)
- Function bodies containing more than one statement are placed in the .h file. (okay for templated classes) (-2)
- Missing include guards in the .h file. (Or does not declare them correctly) (-1)
- Functions are not well documented or are poorly commented, in either the .h or the .cpp file. (-1)
- Improper uses or omissions of const and reference. (-1)