3 ms·
"Haskell Propaganda: OOP programming couples code and data together in unnatural ways. Typeclasses are a better way of structuring logic." should be "Inherita
by Uchikoma 14y ago
"Haskell Propaganda: OOP programming couples code and data together in unnatural ways. Typeclasses are a better way of structuring logic."
should be
"Inheritance couples code and data together in unnatural ways. Typeclasses are a better way of structuring logic."
- papsosouid 14y agoHow so? An OOP language without inheritance would still be coupling code and data together "in unnatural ways". It is the object that is doing the coupling, not inheritance.