A Million Ways to Fold in JS
Loops are bullshit. Loops are bullshit. Hey, and we have tailcall elimination es6, which means recursion is on the menu. I ll provide as many alternatives to those dreadful loops as I can. Impress your loved ones with catamorphisms, anamorphisms, bifunctors, fix points, falgebras, corecursion, and more. Plus, if I m not too lazy, i ll show how it all applies to Streams no promises though (so many puns ) Brian Lonsdorf is a faux academic seeking attention.
|
|