News for hackers. Stuff that matters.
Re:Scalable Program Architectures by jroesch on Monday April 14, 2014 @01:26PM (#7587526)
I think his argument is that these patterns are the easy thing to do in Haskell, not that they are necessarily unique.

The Monoid pattern is universal, but most languages don't give you tools to talk about it as an entity.

It is harder to enforce something like implementing a Monoid Ruby or JavaScript but you can always implement mappend, mempty and use "duck typing". Haskell's advantage in encoding these patterns is static checking, and type classes.

There are no comments on this comment yet.