News for hackers. Stuff that matters.
Re:Swift Protocol Oriented Programming and Testing by mpweiher on Friday July 30, 2021 @02:23PM (#28010769)
Well...it also wasn't really new, POP is just OOP by people who didn't understand OOP (and overcomplicated it)

https://blog.metaobject.com/2015/06/protocol-oriented-progra...

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.