The dos and don'ts of Promises

31-03-2018 • Javascript Patterns

Last week I came across an old nodejs project. It was the first project in which I had ever used promises and I made every mistake one can make. Luckily I'm a lot wiser now, so I decided to write this post to share a few tips on how to properly use promises.

Read more

Prototypal inheritance in Javascript

13-01-2018 • Javascript

Inheritance in Javascript can be quite confusing. Javascript uses prototypal inheritance and doesn't have a concept of classes like a lot of other programming languages do. Although es6 has a Class operator, this is just syntactical sugar. In this post we'll explore how inheritance in Javascript really works.

Read more