#monads#haskell#functionalprogramming
Brian Beckman: Don't fear the Monad
11K subscribers • 10 videos on Hallway
- Recommended by 15 people: 9 on Hacker News, 1 on Lobsters, 3 in engineering communities and 2 curated lists.
- A classic. People kept recommending it from 2012 to 2024.
- Presented by Brian Beckman, physicist and software engineer
Intermediate. Assumes working knowledge.
415K views13 years ago15 recommendations
Computer scienceProgramming languagesFunctional programmingMath for programmers
Brian Beckman explains monads from first principles using function composition and monoids on a whiteboard.
Cross posted from msdn's channel 9. Functional programming is increasing in popularity these days given the inherent problems with shared mutable state that is rife in the imperative world. As we march on to a world of multi and many-core chipsets, software engineering must evolve to better equip software engineers with the tools to exploit the vast power of multiple core processors as it won't come for free as it did in the recent past which was predictably based on Moore's law. Of course, learning new ways to think about programming semantics and code patterns are not always straight forward. For example, most imperative programmers (which include most of us who build software for a living...) are somewhat perplexed by the notion of functions as first class data structures that can be combined to create powerful and composable systems. Languages like Haskell are pure functional languages and require programmers to think in a different way, often in a precise mathematical fashion where composing and chaining functions is "the Way". Dr. Brian Beckman, a Channel 9 celebrity, astrophysicist and senior software engineer thought it would be a very good idea to address the complexity of monads in an easy to understand way: a technical conversation at the whiteboard with yours truly for Channel 9. This video interview is the result of Brian's idea that he can in fact remove the fear of monads from anybody who pays attention to his explanation. Of course, you can't just cover monads in a vacuum (category theory is not really addressed here) so the context is functional programming (Brian covers functions and composable functional structures (function chains) and of course monoids and then monads). Tune in. There's a lot to learn here and only Brian can make monads easy to understand for the rest of us!Why it's here
15 people recommend this, 1 disputes itWhat people say. Highly recommended as one of the clearest and most intuitive explanations of monads for programmers.
Moments people linked to
kikaon Hacker News • Recommends
On “Frege: A Haskell-Like Language for the JVM”
kikaon Hacker News • Recommends
On “Functors, Applicatives, and Monads in Plain English”
programming-talkscurated list on GitHubRecommends
Under “Functional Programming”
awesome-talkscurated list on GitHubRecommends
Under “Functional Programming”
chonglion Hacker News • Recommends
On “Monads are a Class of Hard Drugs (2008)”
emotionalcodeon Hacker News • Recommends
On “On becoming an expert C programmer”
l4mbdaon Hacker News • Recommends
On “Understanding Monoids using F#”
zabi_raufon Hacker News • Recommends
On “Monads in Elixir”
kikaon Hacker News • Recommends
On “Monads Explained Quickly”
RossBencinaon Hacker News • Recommends
On “What Is Abstract Algebra? [video]”
mitchtyon Hacker News • Recommends
On “Monads for functional programming (1995) [pdf]”
omginternetson Hacker News • Recommends
On “The Lazy Monad”
lkutyon Hacker News • Recommends
On “Monads are like burritos (2009)”