Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> From an OOP perspective, they have some properties that make them, in some sense, sorta like containers, e.g., they contain a value like the Maybe monad.

Not always! I find this is a big source of confusion; not all monads contain values, sometimes beginners think they can or should "get the value out" of a monad and that tends to lead to writing the wrong kind of code.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: