Tom Stuart - Refactoring Ruby with Monads
ฝัง
- เผยแพร่เมื่อ 17 ธ.ค. 2024
- This is a talk from Barcelona Ruby Conference 2014 (www.baruco.org/).
Monads are in danger of becoming a bit of a joke: for every person who raves about them, there's another person asking what in the world they are, and a third person writing a confusing tutorial about them. With their technical-sounding name and forbidding reputation, monads can seem like a complex, abstract idea that's only relevant to mathematicians and Haskell programmers. Forget all that! In this pragmatic talk we'll roll up our sleeves and get stuck into refactoring some awkward Ruby code, using the good parts of monads to tackle the problems we encounter along the way. We'll see how the straightforward design pattern underlying monads can help us to make our code simpler, clearer and more reusable by uncovering its hidden structure, and we'll all leave with a shared understanding of what monads actually are and why people won't shut up about them.
Barcelona Ruby Conference 2014 is a conference held by Codegram. We've been running development conferences since 2012 with a goal in mind: Inspiring our audience by putting together the best speakers & talks at a privileged location in the beautiful Barcelona area.
Head over to conferences.co... for an overview of our conferences and to watch all talks. Visit www.codegram.c... to learn more from our team on related topics.