|
|
|
|
|
by saurik
2854 days ago
|
|
The term from Objective-C came directly from Smalltalk, which had almost directly the same concept. Really, Objective-C is essentially "what if the bodies of Smalltalk message implementations were coded in a low-level language?". I am fascinated, though, by your claim that Lisp also used this term... before reading it I would have been 100% sure that it didn't. I just spent ten minutes trying to find documentation of this, and can't find it... but I am not a native speaker of Lisp and so don't always know where to look; can you point me at a reference? (FWIW, I know of the meta-object protocol, which afaik is a singular thing at a different level of abstraction, and I know about classes and methods and generic functions and mulmethods, which seem like what you are talking about but aren't described by protocol?) |
|
Where do protocols originate from, I don't know. Maybe Smalltalk. But I first met them in Common Lisp ecosystem.
--
[0] - http://bauhh.dyndns.org:8000/clim-spec/2-5.html#_23