Blog
Writing on engineering, systems, and building in public.
-
Object Oriented Programming in JavaScript
From object literals to factory functions, constructor functions, ES6 classes, inheritance, and the four pillars of OOP — a complete walkthrough using a game as the running example.
Read → -
Closures and Prototypal Inheritance
The two pillars of JavaScript — closures and prototypal inheritance — explained from the ground up. Memory efficiency, encapsulation, prototype chains, and why JavaScript is the way it is.
Read → -
Types in JavaScript
Primitive types, pass by value vs pass by reference, type coercion, and the static vs dynamic debate — the JavaScript type system explained properly.
Read → -
How JavaScript Actually Works Under the Hood — Part 2
Execution context, hoisting, scope chains, IIFEs, the this keyword, and call/apply/bind — the concepts that separate JavaScript beginners from developers who truly understand the language.
Read → -
How JavaScript Actually Works Under the Hood — Part 1
The engine, the runtime, the call stack, memory leaks, Node.js — a clear breakdown of what actually happens when your JavaScript runs.
Read →