Represent Behavior with Classes not Flags

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
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 easier to maintain.

View the full article
 
Back
Top