Represent Behavior with Classes not Flags
When designing your software systems, favor the use of classes to model behavior within the system over the overuse of flags in your data model. The resulting design will be more flexible, less tightly coupled, and …