Though I do agree with the message in general, as there is no silver bullet, golden hammer, or…

Written by ivg_t | Published 2017/06/11
Tech Story Tags: functional-programming | monads

TLDRvia the TL;DR App

Though I do agree with the message in general, as there is no silver bullet, golden hammer, or whatever, I would allow myself to doubt your reasonings about the state. There’s a well-known technique, that enables an explicit state passing with minimal readability overhead. It’s called a monad. A State Monad is particularly useful for passing a state, an IO monad holds the IO subsystem state, and so on.

Hacker Noon is how hackers start their afternoons. We’re a part of the @AMIfamily. We are now accepting submissions and happy to discuss advertising & sponsorship opportunities.

To learn more, read our about page, like/message us on Facebook, or simply, tweet/DM @HackerNoon.

If you enjoyed this story, we recommend reading our latest tech stories and trending tech stories. Until next time, don’t take the realities of the world for granted!


Published by HackerNoon on 2017/06/11