3 ms·
>This is essentially the point of view of functional programming and category theory. No, it isn't. This is the point of every language philosophy, you will fi
by constantcrying 2y ago
>This is essentially the point of view of functional programming and category theory.
No, it isn't. This is the point of every language philosophy, you will find OOP and procedural people arguing exactly this. Correctly defining your data types is important and applicable in every language and every paradigm.
The view of functional programming is that objects shouldn't be transformed and that mutation should be avoided. That is unrelated.
The point of category theory is that different patterns of relationships are common across mathematical fields. Which is totally unrelated and has nothing to do with anything discussed here. Maybe you meant type theory? But that also has no relation.
- ants_everywhere 2y agoNope I meant category theory > Maybe you meant type theory? But that also has no relation. Hmm? Category theory and type theory have a lot of close ties. For example see the Nlab page on their connections https://ncatlab.org/nlab/show/relation+between+type+theory+and+category+theory https://ncatlab.org/nlab/show/relation+between+type+theory+a...
- robertlagrant 2y agoOP is saying neither of those relate to the problem. Not that they don't relate to each other.