ES Modules: The Cartoon

I really loved the way Lin Clark contrasts the explicit binding of variables between files of code using modules vs. implicit binding where you simply expect that a given variable will be in a certain place within the global scope (like jQuery’s $ shortcut) and how it makes modules not just a better way of connecting your software together but also a way of protecting your code from mistakes.

ES modules: A cartoon deep-dive – Mozilla Hacks – the Web developer blog

Clark has done several cartoon intros to concepts with the most notable one being A Cartoon Intro to WebAssembly which I talked about quite a while ago.

John Munsch avatar
About John Munsch
John Munsch is a professional software developer who works exclusively in JavaScript after years of working in the Java, C++, and C world. He's much happier now.