Re:Everyday hassles in Go
by AnimalMuppet on Wednesday December 31, 2014 @12:41PM
(#8820212)
Well, I just made up this example, so feel free to embellish it...
But as you do, remember the question. We're in an embedded system, with lots of situations where sequence matters, and lots of stored state. The question is, what do monads buy me in that environment?
As for whether monads would help your code (and I still think they would) I'll need a larger example. In a small example abstraction and reuse aren't really apparent.
If you can provide a larger example, we can find out who's right ;)
Alternatively I'll try to find a larger example if you can't or don't want to.