Javascript Inheritance Diagram

I tried looking for a clear diagram that would show visually how objects in Javascript are created and inherited via the prototype chain. Its probably the single most confusing aspect of Javascript for developers, even seasoned ones at that. It took me a while to get it intellectually but I still wanted a simple visualisation of it because I was convinced it couldn’t be as complicated as it seems. Turns out that its not, once you see a decent diagram.

Continue reading “Javascript Inheritance Diagram”

Javascript Essentials for Beginners

This post is intended to be a handy reference for people who are new to learning Javascript, and probably new to programming in general.

It’s not meant be an exhaustive reference of the language by any means, there are plenty of those around, MDN being one of my favorites, but just a simple overview of what I consider to be some of the most essential things a beginner should aim to have under their belt before they attempt to tackle more advanced things.

There are just a few things to get you started for now but I will add to the list in time.

Continue reading “Javascript Essentials for Beginners”