u/ImaginaryKarmaPointsin r/functionalprogramming • Recommends
On “Fp library for JS”
…IMO the bigger gains from FP come from restructuring code to make most operations into processing pipelines, and this is where the Algebraic Data Types come in handy - it took me quite a while to wrap my head around them however.
For conceptual overview, Scott Wlaschin has some good videos (he uses F# instead of JS but concepts are the same) e.g. link to this video
For Javascript examples, look up Brian Lonsdorf on Youtube.
To really grok ADTs I found it helpful to follow along with the Crocks live coding videos, pausing to try out things on my own machine - link to this video…