Class Responsibility Collaboration (CRC) card
Class Responsibility Collaboration (CRC) cards are a brainstorming tool used in the design of object-oriented software. Martin Fowler has described CRC cards as a viable alternative to UML sequence diagram to design the dynamics of object interaction and collaboration.
CRC cards are usually created from index cards. Members of a brainstorming session will write up one CRC card for each relevant class/object of their design. The card is partitioned into three areas:
CRC cards are usually created from index cards. Members of a brainstorming session will write up one CRC card for each relevant class/object of their design. The card is partitioned into three areas:
- on top of the card, the class name
- on the left, the responsibilities of the class
- on the right, the classes with which this class interacts to fulfill its responsibilities.
Comments
Post a Comment