Y
Hacker News
new
|
ask
|
show
|
jobs
by
horrido
3336 days ago
It's Uncle Bob who says objects are bags of functions. And this is not specific to Smalltalk nor dynamic languages. In Java, C#, and C++, objects are still just bags of functions.
2 comments
noblethrasher
3336 days ago
Java and C# allow you to expose mutable fields, so objects are not strictly (or even ordinarily)
just
bags of functions.
link
crimsonalucard
3336 days ago
Yeah but objects in those languages are also bags of data, which he explicitly said they are not.
link