← All posts

Category

JavaScript

5 posts

An import { something } from "./foo" line surrounded by question marks: the same statement may resolve to foo.ts, foo.tsx, foo/index.ts or foo/index.js, illustrating the ambiguity of module resolution.

JavaScript's module system: a hell for tooling

Why a single import triggers dozens of disk lookups, and how explicit extensions [...]

Diagram of four overlapping circles titled “Evaluation and Execution strategies”: Lazy and Eager face each other on the evaluation axis, Sync and Async on the execution axis, illustrating that the two dimensions combine independently.

Evaluation strategy vs execution strategy: lazy/eager & sync/async

Two fundamental concepts often confused: the evaluation strategy (eager/lazy) decides when an [...]

Closures: what are they actually for?

Six concepts that rest on closures: currying, partial application, higher-order functions [...]

Closures: a closure is not just a function

Understanding closures in JavaScript: bound vs free variables, capturing the lexical context, and [...]

Master directed graphs by example with JavaScript

An introduction to directed graphs for developers: vertices, edges and adjacency, plus three real [...]