4 ms·
You make it sound like OOP is an inherently bad thing, and OOP is not mutually esclusive with FP as you seem to imply with your Haskell reference. Funcional ca
by kristoff_it 8y ago
You make it sound like OOP is an inherently bad thing, and OOP is not mutually esclusive with FP as you seem to imply with your Haskell reference.
Funcional can be considered an alternative vs imperative and declarative, and usually languages are a mix of the three.
And any of these 3 style can support OOP.
BTW, plenty of half-decent languages don't have generics.
- rs86 8y agoObjects are parametrizations of functions that possibly close over variables. Having types with functions defined in types with dot notation is a different thing.