Also, it's a monad whether he mentions it or not. Can you reference a monad explanation that is not "cargo cult mathematics"?
Also, it's a monad whether he mentions it or not. Can you reference a monad explanation that is not "cargo cult mathematics"?
The author hasn't achieved the abstraction of a monad in C++ anyway; there's no way to write code that works on both this monad and others, which effectively makes modeling something as a monad as he has done completely without benefit. This would be quite accurately referred to as cargo cult programming.
A monad explanation that is not cargo cult mathematics would be one that explains what a monad is in category theory (a functor with two associated natural transformations), explains it as one of many other patterns, and explains why simply including monads and these other patterns in your code does not automatically give them the Mathematical Seal of Approval™, especially when using a language with no support for abstracting over them.