News for hackers. Stuff that matters.
Re:Swift Protocol Oriented Programming and Testing by dgb23 on Friday July 30, 2021 @03:15PM (#28011294)
Funny article!

Yes, OO as defined by Alan Kay was about the interface, protocol or what ever we call it in a given language. It's a tool for abstraction, so you think about communicating instead of structure and state.

Now, most modern (~10y/o) general purpose languages I know have moved away from ADTs or simply inheritance. Inheritance was just a means to an end and never the point.

There are no comments on this comment yet.