CSC/ECE 517 Fall 2007/wiki3 3 qq
Topic
Take the principle of Separation of Responsibility and catalog the information on it available on the Web. Find good descriptions and good, concise, understandable examples. Tell which you consider the best to present to a class.
Defination of Separation of Responsibility
In Object-Oriented Design(OOD):
- One class should be responsible for knowing and maintaining a set of data, even if that data is used by many other classes.
- And each individual object should have as few responsibilities as possible. ideally one responsibility per object.