| Class-responsibility-collaboration Card |
Website Links For Card |
Information AboutClass-responsibility-collaboration Card |
| CATEGORIES ABOUT CLASS-RESPONSIBILITY-COLLABORATION CARD | |
| software engineering | |
| extreme programming | |
|
CRC cards are usually created from Index Card s on which are written: # The class name. # The package name (if applicable). # The responsibilities of the class. # The names of other classes that the class will collaborate with to fulfill its responsibilities. Using a small card keeps the complexity of the design at a minimum. It focuses the designer on the essentials of the class and prevents him from getting into its details and Inner Workings at a time when such detail is probably counter-productive. It also forces the designer to refrain from giving the class too many responsibilities. A common method to determine what cards should be created is to read a specification for the program being designed and consider if each noun should be a class and if each verb should be a responsibility of the noun or class that it belongs to. Naturally, the existence of a noun or verb does not require a class or responsibility in the program, but it is considered a good starting point. EXTERNAL LINKS
|
|
|