Re:Today’s Smalltalk: A Second Look At The First OO Language
by seanmcdirmid on Thursday October 10, 2013 @01:42PM
(#6529012)
Closures as a form of encapsulation is actually very lispy. Simula introduced classes while Sketchpad introduced prototypes (predates Simula by 5 years), so both were very much proto OO in that sense. But if it makes you feel any better, we could define proto OO just to mean OO before that was a term anyone invented.
[ Parent
| on HN ]
Re:Today’s Smalltalk: A Second Look At The First OO Language
by vidarh on Friday October 11, 2013 @04:12AM
(#6531944)
It's not closures I described. I don't remember if Simula even have closures or not - it's possible it does. The mechanism I described involves message passing between co-routines.
In any case, I detest Simula with the kind of burning hate you can only experience after having been forced to use it (it was the language used in a compulsory CS course; though admittedly most of my hate stems from the horrible standard libraries), so it won't make me "feel any better".
I just don't see any excuse at all for not calling Simula OO, and I'm trying to understand what basis you have for thinking so. So far the reasons are weak and fuzzy enough that I don't see anything worth changing my opinion over.
Re:Today’s Smalltalk: A Second Look At The First OO Language
by seanmcdirmid on Friday October 11, 2013 @07:29PM
(#6536480)
Co-routines are based on what I would call closures (they just continue running rather than returning a value to be called!).
Surely you weren't using Simula 1 or Simula 67 in your courses?