Suppose you want to create a bank account model in your application. You can create a BankAccount class that does what a typical bank account does. But if you are asked what is the responsibility of the class, what is the answer? "Behavior as a bank account?" This is not very specific. I am a little confused by the relationship between model and responsibility. Many real-world objects do not seem to have a clear responsibility.
What is the best way to start modeling such concepts and keep clearly defined responsibilities?
, " ". , :
() () , . ", ", ", ", ", , ", ..
, , , Agile. Agile kool-aid, ; , . , , , .
, :
, .
- , , , .
, , , . , , . , "" .
, , , ? , .
, - . , , .
, , .
"... " ", , ..."
, , . , , . , . , . "" , .
. .
, . .
, koen, , , , .
, . , . , , - . . , :
, , . .
. ( ):
( ) :
? ? ? ( )
?
, ?
(..) /. . / .
, , , ( , , - ..)
" - . , ".
/ , / . (, ), .
- , , - , . , .
,
amuses-sundar