We don't need Map
Maps are an overly misused feature of JavaScript that a plain object or array can replace in most cases.
I love to talk and write about technical stuff. This are some of the articles I wrote over the years expressing my opinions and explaining the reasoning behind them.
Maps are an overly misused feature of JavaScript that a plain object or array can replace in most cases.
We go over how to get all the benefits of TypeScript without switching completely.
We analyze the usefulness of the "this" keyword in JavaScript and explore the options to avoid it altogether.
We go over a pattern I used in my React apps and solve some common issues I've seen around.
While many programming languages that have a nullish type debate about avoiding it, JavaScript is the only popular one with two. Let's fix that.
Let's talk about a widespread TypeScript argument that needs to stop.
Some control statements such as "if," "for," "while," and "switch" are not always the best solution in JavaScript. In this article we explore some good alternatives.
Mutations are at the core of pretty much every single bug in JavaScript. So let's explore how we can avoid them.
FizzBuzz is an outdated interview exercise; let's make it fun by golfing with it trying to make the shortest possible version.
Classes are an inadequate encapsulation mechanism in JavaScript. Let's explore the reasons why.
We look at a piece of code from the Argentinian government COVID WebApp and fix some glaring issues.
We go over the pros and cons of using "reduce" and using "for…of" to answer the question of which one is better.