-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[W5][M11-1]Hu Yidi #33
base: master
Are you sure you want to change the base?
Conversation
Simple feature but straightforward and useful to manage memory space
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simple additional feature but I think it may be useful in terms of storage management
Very clean code. The feature is also pretty useful |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
Try to follow the convention for github commit messages
Add TotalCommand ...
vsadded a TotalCommand to output the total number of contacts in addressbook
-
Always remember to update the documentation and the tests for new features added.
- Without documentation, your users will not be aware of the new command
- Without tests, you are at a risk of regressions
|
||
|
||
/** | ||
* Lists all persons in the address book to the user. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Incorrect header comment. Remember to update the comment when you change the code (this looks like a copy-paste-forgot error)
@huyidi |
added a TotalCommand to output the total number of contacts in addressbook