4 ms·
> "If this sounds to you a lot like Object-Oriented Programming (OOP), you are right." This sounds like Alan Kay's aspirational viewpoint of independent "compu
by aryehof 9y ago
> "If this sounds to you a lot like Object-Oriented Programming (OOP), you are right."
This sounds like Alan Kay's aspirational viewpoint of independent "computers" interacting through messages. Not the object-orientation invented by Nygaard and Dahl in Simula, that introduced objects, classes, subclassing and virtual functions. Kay's vision is not reflected in modern object-oriented languages, while Nygard and Dahl's remain paramount.
The argument that the Actor Model is really a form of object-oriented programming is an unrequired appeal to credibility.
Edit: grammar
- xsmasher 9y agoObjective-C has the message-passing approach to object-oriented programming; all dispatch was at run-time, and an object could delegate any unrecognized messages or decide for itself how to respond to them. I suppose it's not "modern" anymore though - and it doesn't look like swift kept this paradigm.
- bsaul 9y agoironically, swift is aiming at implementing actor concurrency for its next versions (even adding an "actor" keyword).