Category: Programming
2 posts
-
CommonJS vs ES Modules in JavaScript
Why JavaScript has two module systems, how they differ in practice, and when each one shows up in your code.
-
Dynamic dispatch pattern in Scheme/Racket
Implementing dynamic method dispatch — the polymorphism trick that powers JavaScript's toString — in plain Scheme.