paint-brush
Though I do agree with the message in general, as there is no silver bullet, golden hammer, or…by@ivg_t

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

by Ivan GotovchitsJune 11th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

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.
featured image - Though I do agree with the message in general, as there is no silver bullet, golden hammer, or…
Ivan Gotovchits HackerNoon profile picture

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!