3 ms·
> This is where composition helps. It does, though in my experience it leads you down a path that ends in some pretty strange names, as you nominalise more and
by endgame 8y ago
> This is where composition helps.
It does, though in my experience it leads you down a path that ends in some pretty strange names, as you nominalise more and more nebulous concepts, trying to verb in the kingdom of nouns.
- peeters 8y agoIs that any different from foldl, foldr, reduce, map? If you have a generic data type you want your operators to be generic, regardless of whether they exist as methods or as separate functions. The only difference is that the object is free to not leak internal implementation details.