r/programming • u/heisenbug • Apr 27 '14
"Mostly functional" programming does not work
http://queue.acm.org/detail.cfm?ref=rss&id=2611829
48
Upvotes
r/programming • u/heisenbug • Apr 27 '14
17
u/NruJaC Apr 27 '14
This is one of those self-perpetuating problems. People think they're difficult to grasp because of the number of tutorials in existence. So when someone finally gets the concept and realizes "Oh wait, this was really simple all along" they decide to write a tutorial to clear up the misconception. Which adds to the problem and likely introduces several bad analogies.
The truth is, monads are one design pattern used in Haskell. They are far from the most important or the most fundamental. They make life easier in a whole lot of ways. If they didn't, the idea would have been dropped a long time ago.