News for hackers. Stuff that matters.
Re:Algebraic Patterns – Monoid Morphism by lmm on Friday September 30, 2016 @06:28AM (#12611603)
It's not just a pattern (i.e. a structured way of working around a language deficiency). In a good language you can factor out these concepts explicitly in code: you represent e.g. Monoid as an actual interface, and then write code that makes use of that interface.

In which case you need a name for that interface. When you have an interface that corresponds to something that's already known under a particular name, normally you'd use that name for the interface.

There are no comments on this comment yet.