7 min read
Immutability in JavaScript (without library)
A deep dive into JS immutability, guiding you on how to achieve it without relying on external libraries.
- JavaScript
- FunctionalProgramming
4 articles tagged “FunctionalProgramming”, from 2016 to 2017.
7 min read
A deep dive into JS immutability, guiding you on how to achieve it without relying on external libraries.
2 min read
How to apply an unknown number of filters to a JavaScript collection, with a recursive filter function instead of an imperative loop — and why extending Array.prototype is a bad idea.
7 min read
Some alternatives to traditional for/while loops in JavaScript. Also how to address set theory with array of objects (union, intersection and difference).
8 min read
In French
Les concepts clefs de la programmation fonctionnelle appliqués à PHP : immuabilité, récursion, fonctions d'ordre supérieur, fonctions pures et mémoïsation.