3 ms·
I agree that both the label OO and FP is overloaded with multiple indiscernable meanings. I mean Kay's OO, inheritance, class, polymorphism, abstraction, those
by valand 5y ago
I agree that both the label OO and FP is overloaded with multiple indiscernable meanings.
I mean Kay's OO, inheritance, class, polymorphism, abstraction, those are mix of paradigm, design pattern, and language feature.
So does FP with its monads, sumtypes, referential transparency
I guess what can make a better discussion is to take apart the label into these individual items and examine them one by one.
Inheritance - bad - get languages to safely discourage its user from using it
Actor and messages - good - get people to understand the concept and how to implement it in each languages
Immutability - good - let's announce how it helps reduce errors
Functional domain modelling - good - let's make everyone know how to do it
Foreign jargon of FP traits - bad - let's make a more walkable learning curve to those jargons
And so on and so on