Site uses cookies to provide basic functionality.

OK
If a class contains more than about seven data members, consider whether the class should be decomposed into multiple smaller classes (Riel 1996). You might err more toward the high end of 7+-2 if the data members are primitive data types like integers and strings, more toward the lower end of 7+-2 if the data members are complex objects.