javascript
A Simple Currying Refactor: Remove Pass-Through Arguments
Like I said at the beginning of this series, I wanted refactoring existing code to use currying and partial application...
Currying in JavaScript
In this post, I want to keep things simple: what currying is, how it relates to partial application, and why...
Predicate Functions in JavaScript
If you’ve written code in any programming language, you’ve already used predicate functions, even if you never called them that....
Higher-order functions for currying in JavaScript
I’ve been working on my functional programming skills and applying what I learn in real JavaScript projects. JavaScript is a...
Effective Node.js Modules - Part 2: ESM dynamic imports
One of the main differences between CJS and ESM modules is the way they handle dynamic imports. In CJS you...
Effective Node.js Modules - Part 1: Basic Syntax
Do you know what is the difference between the following two code snippets?