A picture of code with git branches

“It is easy to shoot your foot off with git, but also easy to revert to a previous foot and merge it with your current leg.”

— Jack William Bell

Why you should be using git branching

While working through Launch School, you will end up working on games such as Rock Paper Scissors, Tic-Tac-Toe, and other…

You got this

The idea behind the this keyword is that when you invoke a method that contains the this keyword in its body, this points to an object and tells the method where to look to find the properties needed in the method. …

Cat typing on a keyboard.

JavaScript thinks that this is a picture of a duck typing. No seriously, it does. And as far as we are concerned if JavaScript thinks that this is a picture of duck typing, we can also assume it to be a picture of a duck typing.

What do I mean…

A confused man tries to work out what prototype means.

It can seem very daunting when you start learning about prototypes in JavaScript. A lot of the confusion stems from the fact that there are two different prototypes in JavaScript that refer to different concepts. Let me explain.

[[Prototype]]

[[Prototype]] is a hidden private property that all objects have in Javascript…

Macbook showing a code snippet on the screen.

To understand prototypes and inheritance in JavaScript, you will need to understand these five points:

  1. Objects can have properties.
  2. Objects inherit properties from their prototype.
  3. Functions are objects which can also have properties.
  4. Functions have a prototype property.
  5. A function’s prototype is NOT the same thing as an object’s prototype.

A laptop with code open on the screen.

First of all, a bit of context. Almost exactly 30 days ago I left my job as an English teacher to begin studying programming full-time. I chose to study at Launch School as I felt that they offered a unique approach that is in line with my way of learning…

Eamon O'Callaghan

Transitioning to a new career as a software developer, currently studying JavaScript in Launch School.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store