Re:Snap: A Haskell Web Framework
by yummyfajitas on Saturday May 22, 2010 @11:16AM
(#1370435)
The best way to understand monads is to stop reading monad tutorials and write some code. There is only one particular trick to learning monads: use the >>= operator rather than do notation until you understand the basics. Then read this explanation of do notation:
Actually, this is just a special case of a general rule: "The best way to understand {{programming_concept}} is to stop reading {{programming_concept}} tutorials and write some code."
Re:Snap: A Haskell Web Framework
by aluink on Sunday May 23, 2010 @11:11AM
(#1372389)
I think your general rule is only for those who learn this way. I find that a lot of programmers learn this way but not all...so this general rule isn't universal ;)
http://en.wikibooks.org/wiki/Haskell/do_Notation
Actually, this is just a special case of a general rule: "The best way to understand {{programming_concept}} is to stop reading {{programming_concept}} tutorials and write some code."