|
|
|
|
|
by dragonwriter
1641 days ago
|
|
really, it should be: account acceptDeposit: 100 dollars.
accounts don't deposit money, they accept deposits.Or, for a more realistic domain model: ledger credit: accountNumber debit: cashHoldingsAccount amount: 100 dollars.
|
|