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.
Re:Swift Protocol Oriented Programming and Testing
by ribit on Friday July 30, 2021 @06:50PM
(#28013388)
Unfortunately, the notion “OOP” has been taken hostage by C++ and Java and they don’t want to give it back.
Re:Swift Protocol Oriented Programming and Testing
by Apocryphon on Friday July 30, 2021 @02:35PM
(#28010881)
"Compiler Oriented Programming"... nice one.
https://blog.metaobject.com/2015/06/protocol-oriented-progra...