Request for Clarification
Recommended Changes
ReFactoring Suggestions
Classes with names that are too general
The definition of Account narrowly pertains to "a contractual relationship between a buyer and a seller", but this exludes many important accounts in finance, not a bank accounts and investment accounts.
Proposed Solution: Two options.
- Preferred: do not have a class that means what the current class means. Have a class called Account that means the more general case.
- Other: create a second more general class, if for some reason it is important to have both versions.
Properties with too narrow domain and/or range