News for hackers. Stuff that matters.
Re:Today’s Smalltalk: A Second Look At The First OO Language by seanmcdirmid on Thursday October 10, 2013 @04:47AM (#6526396)
Simula and to a similar extent SketchPad are proto-OO: they planted the seeds many of the concepts that would go into OO, but Smalltalk is where the seeds were first reaped. But at the end of the day, we are arguing about a label, and its hard to tell where proto-X really becomes X (e.g. anthropologists argue about the line between proto writing and writing).
Re:Today’s Smalltalk: A Second Look At The First OO Language by vidarh on Thursday October 10, 2013 @05:13AM (#6526471)
I'm curious what you believe Simula is lacking to make it fully OO.
Re:Today’s Smalltalk: A Second Look At The First OO Language by seanmcdirmid on Thursday October 10, 2013 @05:28AM (#6526517)
Re:Today’s Smalltalk: A Second Look At The First OO Language by vidarh on Thursday October 10, 2013 @07:29AM (#6526829)
Simula does provide encapsulation - it often considered the first language to do so.

It does not provide an easy mechanism for information hiding of the encapsulated instance variables.

I think that is an exceedingly weak argument against calling it OO, especially as you AFAIK can do information hiding in Simula by using the simulation support that was it's raison-d'etre, namely by using the object lifecycle and co-routine support and starting a method to encapsulate state as part of the class body (constructor, effectively).

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.
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?

Re:Today’s Smalltalk: A Second Look At The First OO Language by lispm on Thursday October 10, 2013 @09:06AM (#6527323)
Simula is a hybrid language made out of an imperative Algol base and extensions for OO.
Re:Today’s Smalltalk: A Second Look At The First OO Language by vidarh on Thursday October 10, 2013 @09:10AM (#6527354)
That doesn't answer the question - the same can be said of a lot of OO languages.
Re:Today’s Smalltalk: A Second Look At The First OO Language by lispm on Friday October 11, 2013 @02:48PM (#6535083)
Those are also not 'real' pure OO languages.