JavaScript is an example of how OOP can be done without classes (before they were added to appease Java enthusiasts).
Comment on Functional Programming vs. Object Oriented Programming
abhibeckert@lemmy.world 9 months agothere’s an entire branch of object-oriented language design without classes!
That’s not OOP anymore.
I’d argue “message passing” is an implementation detail rather than part of OOP. And it’s an implementation detail that is rarely used in modern OOP languages.
xigoi@lemmy.sdf.org 9 months ago
Redkey@programming.dev 9 months ago
Whatever it may have become in later years, Alan Kay, who is often called “The Father of Object-oriented Programming”, outlined the message-passing idea as the main concept he was driving at, originally.
He also says that he probably misnamed it.
Here’s a discussion in which the man himself makes a (small) appearance: …stackexchange.com/…/so-what-did-alan-kay-really-…