Functional programming has become a hot topic in the JS community, leaving many JavaScripters wondering: What's all the hype about? What do functional programs look like, and why might I prefer them to imperative/object-oriented code? How do I get started writing code in a functional style?
If you've been asking yourself these questions, you'll enjoy this gentle, practical intro to functional programming. We'll explore the advantages and basic principles of the paradigm, in which holy, pure functions deliver us from the evils of mutable state. We'll see how rejecting side-effects and mutability in our code can avoid a lot of common JS headaches. And we'll learn how to use core JS features as well as some popular FP libraries like Mori and Ramda to start writing our own functional programs.
Talk language: ENDownload presentation.
Anjana Vakil
Anjana suffers from a debilitating case of curiosity, which led her from philosophy to English teaching to computational linguistics to software development. An engineer at ÜberResearch, she can usually be found in Berlin; that is, when she's not speaking at events around the world, trying to share the joy of coding and make tech more diverse and accessible. Talk to her about functional programming, language design, and speech technology; ask her about Mozilla, Outreachy, and the Recurse Center!