News for hackers. Stuff that matters.
Re:Why is OOP still so widely spread? by pjmlp on Friday September 04, 2020 @04:43PM (#24378697)
And then there is prototype polymorphism (SELF, JavaScript), pattern based polymorphism (BETA), component based polymorphism (COM, SOM, UWP), protocol based polymorphism (Objective-C, Swift, Smalltalk), ....

That is the thing, there isn't one OOP.

Re:Why is OOP still so widely spread? by andrekandre on Saturday September 05, 2020 @07:04AM (#24382737)
how does smalltalk use protocols? is it more ad-hoc like "responds to selector" or something else?
Re:Why is OOP still so widely spread? by pjmlp on Saturday September 05, 2020 @08:04AM (#24382975)
That is one way, informal use of categories, if we limit ourselves to Smalltalk-80 and Squeak.

Pharo also offers traits, not sure if Cinacom and Dolphin also do it.

Re:Why is OOP still so widely spread? by andrekandre on Saturday September 05, 2020 @03:46PM (#24386379)
forgot about pharo, yes it has traits (protocols)