Closed QQH0828 closed 1 year ago
May I ask that the reason of
ReadOnlyAddressBook
interface is used by this name is becauseAddressBook
is the project name or is it a name used for storing all the person's details (readability)?
@QQH0828 The classes are named based on what the class/component represents, not based on the product name. In this case it happens to match product name as well.
Thanks, prof!
Hi, prof and peers, May I ask that the reason of
ReadOnlyAddressBook
interface is used by this name is becauseAddressBook
is the project name or is it a name used for storing all the person's details (readability)? My teammates and I are thinking about this question, and we have different thoughts. Regarding the UML diagram below Model -> AddressBook and UserPrefs; AddressBook -> person's details.Some of us think we should change
AddressBook
to our own project name, and some of us think should keep it.