Answer Posted / guest
Class Responsibility Collaborator (CRC cards) are a
brainstorming tool used in the design of object-oriented
software. They were proposed by Ward Cunningham and Kent
Beck. [1] They are typically used when first determining
which classes are needed and how they will interact.
CRC cards are usually created from index cards on which are
written:
The class name
Its Super and Sub classes (if applicable)
The responsibilities of the class.
The names of other classes with which the class will
collaborate to fulfill its responsibilities.
Author
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. Because
the cards are portable, they can easily be laid out on a
table and re-arranged while discussing a design with other
people.
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 to
which it belongs. 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.
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What is mean by relational and object dbms?
What are the rules specified for invariants in first order and second order information?
Why analysis is a major part in object designing?
What is UML diagram?
What do you understand by relationships in uml?
What are the different views in UML?
What are components of an mvc architecture?
What is object diagram in UML?
Can you name the different elements with the collaboration diagram?
What is a uml package?
What is inheritance in oosad?
What is the best software for UML diagrams?
Every object has : state, behavior and identity - explain
What is an object lifeline?
What is known as static diagrams?