4 ms·
"The fact that the functions are collected into records and called methods is irrelevant. As a result, the typical object-oriented program makes far more use of
by discreteevent 9y ago
"The fact that the
functions are collected into records and called methods is
irrelevant. As a result, the typical object-oriented program
makes far more use of higher-order values than many func-
tional programs” - William Cook, On understanding data abstraction revisited.
OOP, especially with a focus on immutability, is not that far away from FP. It's not like, say physics where two domains can be conceptually quite different. OOP and FP are just two programming tools meaning that their variation is quite limited by the domain they are in.
- quicksnap 9y agoObjects as a higher-order abstraction, as an encapsulation of data and methods, are all fine and dandy. When I think of OOP, however, I think of deep inheritance. I'm not a great fan of the latter.