Tag: functional-programming
Four reasons to use append() instead of Object.assign() and Object spread
Object.assign is just a special case of a universal concept in functional programming. By opting to use a universal function to back this universal concept, you can inherit all kinds of awesome for free.
→ Read ArticleCharles Lowell
September 18, 2018
Functional Rephrasing Using an Async Function Functor
Once you know that they're there, Functors pop up in all kinds of surprising places. Here we take a simple exploration of how the JavaScript async function construct is actually a Functor and how we can use that for great good.
→ Read ArticleCharles Lowell
July 3, 2018