3 ms·
Why shouldn’t they be bundled together? They’re completely interdependent - each is useless without the other.
by pansa2 6y ago
Why shouldn’t they be bundled together? They’re completely interdependent - each is useless without the other.
- hderms 6y agoWell the common FP answer is that data might have many operations on it that are totally orthogonal and that don't depend on shared behavior. I say this as someone who thinks both paradigms have something to offer.
- meheleventyone 6y agoGenerics?
- lmm 6y agoNamespacing them together is good. Hiding the coupling between them isn't. If a function makes use of some data, you want to see where that data comes from, not have the function fetch it via a magic portal to some other part of your code.