Re:What Monoids teach us about software
by tome on Wednesday September 13, 2017 @04:55PM
(#15242573)
> Under my Foo API you are able to combine Bars just like adding numbers.
No. Firstly, Bars may not be commutative. Secondly, would you really say that taking the unions of sets is "just like adding numbers"?
But seriously, the use of Bar/Baz etc. in this example makes it more convoluted, rather than less, precisely because the names offer no hint for how to understand the nature of each thingy.