2 ms·
level error! account deposit: $100 was the message from the bank teller to the account, not from you :)
by PaulDavisThe1st 5y ago
level error!
account deposit: $100
was the message from the bank teller to the account, not from you :)
- wk_end 5y agoDo bank tellers, conceptually, think of themselves as telling accounts to add $100 to themselves? Or do they think of themselves as adding $100 to an account?
- PaulDavisThe1st 5y ago... when the bank teller's are software-driven entities, they might :)
- wk_end 5y agoYes, I suppose it's the case that if the bank tellers are written in Smalltalk, the Smalltalk way of doing things make sense.
- bitwize 5y agoYeah, you're supposed to say: bankTeller deposit: (100 dollars) in: myAccount.