|
|
|
|
|
by throwaway894345
2216 days ago
|
|
This made me chuckle. I think it's broader than C# -> F# though. Java also has closures and higher-order functions, and in many debates on this forum it seems like OOP proponents aren't aware that these features are grafts from functional programming. OOP programmers also seem to have (finally) come around to the consensus that composition is preferable to inheritance. So if there is a long con, I think it is about turning OOP programmers into ML or functional programmers. :p |
|
Except that Smalltalk -for which the term "object oriented" was invented - had them.
https://www.infoq.com/presentations/functional-pros-cons/