| ▲ | discreteevent 2 days ago | |||||||||||||||||||||||||||||||
> distinction between an interface/typeclass or whatever, and a concrete type. This is the essence of OOP. "The notion of an interface is what truly characterizes objects - not classes, not inheritance, not mutable state. Read William Cook's classic essay for a deep discussion on this." - Gilad Bracha https://blog.bracha.org/primordialsoup.html?snapshot=Amplefo... | ||||||||||||||||||||||||||||||||
| ▲ | 9rx 2 days ago | parent [-] | |||||||||||||||||||||||||||||||
> The notion of an interface is what truly characterizes objects Objects, but not OO. OO takes the concept further — what it calls message passing — which allows an object to dynamically respond to messages at runtime, even where the message does not conform to any known interface. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||