Y
Hacker News
new
|
ask
|
show
|
jobs
by
PaulDavisThe1st
1650 days ago
level error!
account deposit: $100
was the message from the bank teller to the account, not from you :)
2 comments
wk_end
1650 days ago
Do 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?
link
PaulDavisThe1st
1650 days ago
... when the bank teller's are software-driven entities, they might :)
link
wk_end
1650 days ago
Yes, I suppose it's the case that if the bank tellers are written in Smalltalk, the Smalltalk way of doing things make sense.
link
bitwize
1649 days ago
Yeah, you're supposed to say:
bankTeller deposit: (100 dollars) in: myAccount.
link