jrsinclair.hashnode.devAlgebraic Structures: Things I wish someone had explained about functional programmingThis is part 2 of a four-part series: Things I wish someone had explained to me about functional programming Part 1: Faulty Assumptions Part 2: Algebraic Structures Part 3: Type classes Part 4: Algebraic Data Types Algebraic Structures are somethin...Nov 4, 2019
jrsinclair.hashnode.devWhat are higher-order functions, and why should anyone care?Originally published 2 July 2019 at: https://jrsinclair.com/articles/2019/what-is-a-higher-order-function-and-why-should-anyone-care/ “Higher-order function” is one of those phrases people throw around a lot. But it's rare for anyone to stop to expla...Jul 2, 2019
jrsinclair.hashnode.devFunctional JavaScript: Traversing Trees with a Recursive ReduceTrees come up a lot in web development. More than you would expect, anyway. For most of my web development career, I haven’t needed many complicated data structures. And tricky algorithms don't come up that often either. Things like linked lists and ...Jun 12, 2019
jrsinclair.hashnode.devMagical, Mystical JavaScript TransducersFirst published as Magical, Mystical JavaScript Transducers at jrsinclair.com In an earlier post we were looking at how to calculate an average using JavaScript's array method. And in that article we ran into a dilemma. On the one hand, we could buil...Jun 6, 2019