logoalt Hacker News

ahartmetzlast Sunday at 8:25 AM2 repliesview on HN

That's the Smalltalk school of OOP. There is also the Simula school. It is kind of unfortunate that they use the same name.


Replies

Rochustoday at 9:07 AM

> That's the Smalltalk school of OOP

In particular the "Smalltalk-72 school" which had indeed something like "message passing" (though still synchronously). Starting from Smalltalk-76, and particularly in Smalltalk-80, which is the Smalltalk we know today, the object model pretty much corresponds to Simula-67, with compiled methods dipatched via virtual method tables. The only difference is, that in Smalltalk, the dispatch goes via the internalized string address of the selector (vs. method index as e.g. in Simula-67, C++ or Java). See e.g. https://dl.acm.org/doi/10.1145/3386335.

mycalllast Sunday at 8:36 AM

> OOP to me means only messaging, local retention and protection and hiding of state-process, and extreme late-binding of all things.

How does Simula differ here?

show 1 reply