From cb32caa736c42a57b896f4dbda281765c8a478ea Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Thu, 12 Oct 2023 12:48:23 -0400 Subject: [PATCH] add everything in main function point deduction --- hws/05_online_dating/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hws/05_online_dating/README.md b/hws/05_online_dating/README.md index bf1efc6..6a0033b 100644 --- a/hws/05_online_dating/README.md +++ b/hws/05_online_dating/README.md @@ -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)