Understanding Prototypal Inheritance in JavaScript
JavaScript

Understanding Prototypal Inheritance in JavaScript

I bombed a whiteboard interview because I couldn't explain __proto__ vs .prototype. Went home and actually figured it out. Here's the prototype chain, Object.create, constructor functions, and why ES6 classes are just syntax over the same old mechanism.

11 min read 4,054 views
#javascript #prototypal-inheritance #oop #object-oriented-programming
Continue Reading →
Understanding the Node.js Event Loop: A Deep Dive
Node.js

Understanding the Node.js Event Loop: A Deep Dive

I've been asked about the event loop more than any other Node.js topic. Here's how I finally made sense of it -- why Node can juggle thousands of connections on one thread, and the mistakes I kept making that blocked it.

8 min read 7,403 views
#event-loop #async #nodejs #performance
Continue Reading →