Skip to content

Class–Responsibility–Collaboration Card

A compact object-design card naming a class, its responsibilities and its collaborators for scenario-based discussion and revision.

Version
v2 · 2026-10-31 · History
Domain-specific #
13833
Domain group
Applied Sciences & Engineering
Origin domain
Computer Science & Software Engineering
Subdomain
Object Oriented Design → Computer Science & Software Engineering
Aliases
CRC Card

Core Idea

A class–responsibility–collaboration (CRC) card is a compact object-design representation. Each card names a class or object role, lists what it should do in short active phrases, and names collaborators it needs. Designers arrange the cards and play through scenarios to discover missing, misplaced or overloaded responsibilities.[1]

The card is a selective sketch. It does not contain full code, prove runtime messages or guarantee a good design. Beck and Cunningham used physical index cards and found handling them useful for teaching. A digital card may keep the three informational fields, but their original paper does not establish equal teaching effects.[1]

How would you explain it like I'm…

Helper Job Cards

When people plan a computer program, they can use little cards, one for each helper in the program. Each card says the helper's name, what jobs it does, and which other helpers it asks for help. Then the team plays pretend, passing jobs around the cards to see if every job has someone to do it.

Who-Does-What Cards

A Class–Responsibility–Collaboration Card, or CRC card, is an index card used to plan the parts of a program. Each card has three things: the part's name, its jobs (responsibilities), and the other parts it works with (collaborators). Designers lay out the cards and walk through a pretend situation, asking 'Who does this step?' If no card can handle a step, or one card has too many jobs, they change the plan. The cards are a planning tool, not the actual program.

Object Role Design Cards

A Class–Responsibility–Collaboration (CRC) card is a compact tool for thinking through object-oriented design. Each card has three things: the name of a class or object role, its responsibilities written as short active phrases, and its collaborators, meaning the other objects it relies on. Designers arrange the cards and walk through scenarios, deciding which card handles each action and spotting responsibilities that are missing or piled too heavily on one card. A CRC card is deliberately selective: it captures intended roles and interactions, not code, a full interface, or proof the system works. Beck and Cunningham, who introduced it, used physical index cards and valued handling them; digital versions with the same fields can represent the same thing, though their effect on learning wasn't shown to be equal.

 

A Class–Responsibility–Collaboration (CRC) card is a lightweight design representation for object-oriented systems. Each card records a class or object role, its responsibilities as concise active-voice phrases, and its collaborators, the objects it must interact with to fulfill those responsibilities. In use, designers lay out cards and walk through scenarios, assigning each required action to a card and detecting gaps or overloaded classes, which drives redistribution of responsibilities. The representation is intentionally selective: it captures intended roles and interactions, not executable code, complete interface contracts, or a guarantee of correctness. Beck and Cunningham's original practice used physical index cards and emphasized the value of physically moving them. A digital card with equivalent fields can preserve the representation's identity, but their paper does not show that digital cards have the same teaching effects.

Scope of Application

CRC cards support both explanation of an existing object design and development of a proposed one. The necessary roles are: an independently describable object-design target; a distinct named-card medium; responsibility and collaborator fields mapping selected roles to that medium; a known limit on fidelity; and scenario-based interpretation or revision. For a new design, the target is the requirements and intended interactions, not an already implemented architecture.[1]

Clarity

Ask what problem the object-design target addresses. On each card, state the role's duties and the other roles whose help it needs. Walk through a concrete event: which card handles each action, which collaborator is involved, and where does an unassigned duty appear? Add, reword or split cards when the scenario exposes a gap. A collaborator name is a proposed relationship, not proof of a particular message call.[1]

Manages Complexity

A few short fields keep attention on responsibilities instead of syntax and implementation. Cards can be moved, overlapped and rewritten while participants test an interaction. The compression also omits details that later specifications or code must settle. The paper reports classroom and design experience, but no controlled effectiveness study or deployed banking-system outcome.[1]

Abstract Reasoning

Treat the design as a network of local commitments. Give each role responsibilities, identify collaborators, then trace a relevant scenario across the cards. If the chain breaks, revise the proposed assignments and replay it. The strict parent Representation applies because an object-design target is selectively mapped to an interpretable card medium with known limits and operational use. That mapping also retains the live parent's inherited Abstraction role; the card's object-specific fields keep this entry domain-specific.[1]

Knowledge Transfer

The three-field role structure travels from interpreting Smalltalk-80 MVC to sketching an automatic banking machine, while the object names and implementation details differ. One use explains an existing framework; the other develops a proposed device/database/interface design. Transfer the responsibility and collaborator mapping and the scenario practice, then justify the target and assumptions anew.[1]

Example

Smalltalk-80 Model–View–Controller

The authors' Figure 2 places Model, View and Controller cards to help explain an existing framework. View and Controller overlap and appear above Model; only some responsibilities are shown. Mapped roles: existing object design → target; named cards → medium; duties and collaborator entries → selective mapping; deliberately partial coverage → fidelity limit; placement and discussion → interpretation.[1]

Automatic banking-machine exercise

In a teaching exercise, the paper's appendix sketches Account, Transaction, Dispenser, CardReader, RemoteDataBase, Event, Action and Screen roles. Mapped roles: intended machine interactions and requirements → target; classroom cards → medium; assigned duties and collaborators → mapping; provisional sketch rather than implementation → fidelity limit; scenario walkthrough → use. This is a proposed design exercise, not a deployed bank.[1]

Relationships to Other Abstractions

Local relationship map for Class–Responsibility–Collaboration CardParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Class–Responsibility…DOMAINPrime abstraction: Representation — is a kind ofRepresentationPRIME

Current abstraction Class–Responsibility–Collaboration Card Domain-specific

Parents (1) — outgoing typed relations

  • Class–Responsibility–Collaboration Card is a kind of Representation Prime

    A CRC card selectively represents an object-design target through named responsibility and collaborator fields.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Class–Responsibility–Collaboration Card sits in a sparse region of the domain-specific corpus (97th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Unclustered & Miscellaneous (3155 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

Not to Be Confused With

  • UML class diagram: overlapping class vocabulary does not automatically include CRC's duty, collaborator and scenario roles.
  • Single-responsibility principle: the original cards can hold several duties.
  • Executable implementation: a card suggests assignments but cannot prove actual behavior.
  • Guaranteed improvement: the original reports experience, not a universal measured effect.[1]

References

[1] Kent Beck and Ward Cunningham (1989), A Laboratory For Teaching Object-Oriented Thinking, OOPSLA 1989 Conference Proceedings and SIGPLAN Notices 24(10), §§2–5, Figures 1–2 and Appendix. Full author-hosted original paper. registry ↩a ↩b ↩c ↩d ↩e ↩f ↩g ↩h ↩i ↩j