CRC cards

CRC cards

(Class Responsibility Collaboration card) An object-oriented design method that uses ordinary 3x5 index cards. Developed by Ward Cunningham at Textronix, a card is made for each class containing responsibilities (knowledge and services) and collaborators (interactions with other objects). The cards provide an informal, intuitive way for group members to work on object design together.

For a book on CRC cards that provides a clear introduction to object concepts and modeling, read "Using CRC Cards" by Nancy Wilkinson, published by SIGS BOOKS, ISBN 1-884842-07-0.
References in periodicals archive ?
* Class Models or CRC Cards from C++-, Java, Delphi and Ada
The goal of the second category is to locate faults in nonexecutable products such as models, CRC cards, designs and frameworks.
By applying these simple checks, problems can be quickly found and the feedback can lead to an improved set of CRC cards. Since the CRC cards will be used to produce the object model, finding mistakes at this point makes the creation of that model more efficient and increases its quality.
The CRC cards should provide a basis for verifying that each class is correctly mapped.
The object model contains at least all of the classes defined by the CRC cards for that grouping.
Figure 3 illustrates an object model that has been developed from a set of CRC cards. (For those not familiar with the OMT notation, the relationship between Traffic Control Signal and Intersection is aggregation; that between Traffic Control Signal and Crosswalk Signal is specialization; and that between Intersection and Controller is a many-to-one association.) The testing of this mapping can be part of the object model review.
Selected SASY Work Products SASY Work product Work product description Modified CRC card English text description of a single class, Its responsibilities and Its client relationships with other classes.
The individual creating a CRC card is responsible for using the checklist to test the class they are describing.
* Locate the CRC card for each of the listed collaborators.