Represent Behavior with Classes not Flags
Posted by: ASPAlliance.com - The #1 ASP.NET Community,
on 11 Nov 2011 |
View original | Bookmarked: 0 time(s)
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....