Centaur Tech

Dips

Monday, May 23

Class , Responsibility, Collaboration

CRC cards - design methodology for Object Oriented Programming..

Moving away from procedural thinking, global variables and depending on implementation of other objects..
Start your design with :
>> Class Name - naming a class with the most appropriate description
>> Defining its responsibilities - problems to be solved , data and methods
>> Define collaborators - other class dependencies for services or control

This should all fit on a 6-by-4 card in following form :

------------------------------
ClassName Collaborators
-----------
Responsibilities


------------------------------

------------------------------------------
Account Transaction

-------------------- Remote DB
Keeps balance

and traffic

-----------------------------------------

Dips at 8:03 AM

0 comments

0 Comments

Post a Comment