Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
PaulDavisThe1st
on Dec 18, 2021
|
parent
|
context
|
favorite
| on:
I can read C++ and Java but I can’t read Smalltalk...
level error!
account deposit: $100
was the message from the bank teller to the account, not from you :)
wk_end
on Dec 18, 2021
|
next
[–]
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?
PaulDavisThe1st
on Dec 18, 2021
|
parent
|
next
[–]
... when the bank teller's are software-driven entities, they might :)
wk_end
on Dec 18, 2021
|
root
|
parent
|
next
[–]
Yes, I suppose it's the case that if the bank tellers are written in Smalltalk, the Smalltalk way of doing things make sense.
bitwize
on Dec 19, 2021
|
prev
[–]
Yeah, you're supposed to say:
bankTeller deposit: (100 dollars) in: myAccount.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: