3 ms·
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
by horrido 9y 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.
- crimsonalucard 9y agoYeah but objects in those languages are also bags of data, which he explicitly said they are not.
- noblethrasher 9y agoJava and C# allow you to expose mutable fields, so objects are not strictly (or even ordinarily) just bags of functions.