Photo by Christopher Burns on Unsplash

From the media to the workplace, it’s easy to spot people with an overinflated sense of their own ability. This phenomenon is explained by the Dunning-Kruger effect, a hypothesis that people who are bad at a task or skill have a cognitive bias towards thinking they’re better than they are.

Locks on a bridge
Photo by Alberto Barrera on Unsplash.

In many web development projects, important functionality depends on asynchronous code — whether that’s making HTTPS requests to an API, querying and updating a database, or managing time-sensitive tasks like reading large files.

But are you making sure that your asynchronous code is optimised to run as efficiently as possible?

Photo by Jr Korpa on Unsplash

Since 2015, JavaScript has enjoyed yearly language updates. 2021 is no different: this year, several new features reached Stage 4 of the TC39 Process and are already available in Node.js and most major modern browsers.

In this article, we’ll look into four of the most important new features. We’ll cover…

Photo by Scott Webb on Unsplash

A singleton is a function or class which can have only one instance. It’s a design pattern popularised by the “Gang of Four” in their influential Design Patterns. However, the singleton is one of several patterns in the book which have been criticised. Some are regarded as anti-patterns, while others…

Bret Cameron

Writer and developer based in London. On Medium, I write about JavaScript and web development 💻

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