3 ms·
> Or as someone else once put it, "design patterns" might more accurately be called something like "palliative idioms for pain points in static manifestly typed
by AnimalMuppet 7y ago
> Or as someone else once put it, "design patterns" might more accurately be called something like "palliative idioms for pain points in static manifestly typed class-oriented languages."
But then one could claim that monads are a palliative idiom for pain points in function-oriented languages, with at least as much justification.
Or one could think that we're bumping into some flavor of the expression problem: There is no language style that makes all things easy to write.
- msla 7y ago> But then one could claim that monads are a palliative idiom for pain points in function-oriented languages, with at least as much justification. Arrays are a monad. I think some monads can be described that way, but monads as a whole run into the "tensor trouble" of being so damned general that nothing can really be said about them... except for useless generalities.
- sampo 7y agoDesign Patterns could be general too, but usually we mean the common patterns. So you could equally talk about the commonly used monadic patterns.