3 ms·
Objects were never meant to have public attributes. The only way of interacting with objects should be sending messages. I'm talking about what Alan Kay says ab
by klibertp 11y ago
Objects were never meant to have public attributes. The only way of interacting with objects should be sending messages. I'm talking about what Alan Kay says about the matter.
Incidentally, besides Smalltalk, there is another language, which implements this original idea of OO: it's Erlang (just view processes as objects and it all fits).