News for hackers. Stuff that matters.
Re:Today’s Smalltalk: A Second Look At The First OO Language by informatimago on Thursday October 10, 2013 @02:58AM (#6526097)
Simula is generaly recognized as the first OO language, so it's a second look at the second OO language at best.
Re:Today’s Smalltalk: A Second Look At The First OO Language by bromagosa on Thursday October 10, 2013 @03:10AM (#6526136)
Correct. Although Smalltalk is generally regarded as the first one because the concept "object orientation" was first used in it.

Still, the big thing in Smalltalk are not objects, but messages. That's something many later OO languages missed on completely.

From Kay:

  «OOP to me means only messaging, local retention and protection and hiding of state-process, and extreme late-binding of all things. It can be done in Smalltalk and in LISP. There are possibly other systems in which this is possible, but I’m not aware of them.»
Re:Today’s Smalltalk: A Second Look At The First OO Language by vidarh on Thursday October 10, 2013 @05:23AM (#6526504)
I think the reason many later OO languages "missed" messages completely is because the distinction makes little sense in more static languages that lacks a way to dynamically call a method/send a message.
Re:Today’s Smalltalk: A Second Look At The First OO Language by yvdriess on Thursday October 10, 2013 @11:22AM (#6528202)
And incidentally, dynamic dispatching is recognised as the key feature of OO: (Cook 2009)

Object-oriented programming is successful in part because its key technical characteristic—dynamic dispatch-is essential to supporting independent, interoperating extensions; and because interoperable extension is in turn essential to the reuse of architectural code (as in frameworks), and more broadly to the design of modern software ecosystems.

Re:Today’s Smalltalk: A Second Look At The First OO Language by vidarh on Friday October 11, 2013 @04:00AM (#6531925)
I'm not sure if you're agreeing or disagreeing with me.

Dynamic dispatch is supported by most statically typed OO languages. C++ virtual member functions are dynamic dispatch. So indeed, dynamic dispatch is one of the key features that makes the distinction between calling methods and sending messages sufficiently un-important that static OO languages are still useful.

What was (perhaps too imprecisely) referred to in my comment above is late/dynamic binding.

Re:Today’s Smalltalk: A Second Look At The First OO Language by seanmcdirmid on Thursday October 10, 2013 @01:45PM (#6529034)
Why would you take Kay's definition of OOP as gospel. To me, OOP is all about thinking and coding in terms of object metaphors. Everything else is a supporting detail.
Re:Today’s Smalltalk: A Second Look At The First OO Language by bromagosa on Friday October 11, 2013 @02:44AM (#6531747)
Well, I wouldn't take it as gospel, but as a definition coming from the person who actually invented and first used this term.
Re:Today’s Smalltalk: A Second Look At The First OO Language by seanmcdirmid on Friday October 11, 2013 @09:33AM (#6532945)
Alan Kay is very opinionated, I respect his work but don't take him as a god. There are plenty of other people who did much work in OOP in the 70s and 80s who deserve around similar credits for starting up this field, and let's not forget the Scandinavians who actually invented it.
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.