Articles

I love to talk and write about technical stuff. This are some of the articles I wrote over the years.

Cover image of "We don't need this"

We don't need this

We analyze the usefulness of the "this" keyword in JavaScript and explore the options to avoid it altogether.

3 min read
Cover image of "The paired hook pattern"

The paired hook pattern

We go over a pattern I used in my React apps and solve some common issues I've seen around.

7 min read
Cover image of "We don't need null"

We don't need null

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.

7 min read
Cover image of "That TypeScript argument..."

That TypeScript argument...

Let's talk about a widespread TypeScript argument that needs to stop.

4 min read
Cover image of "We don't need control statements"

We don't need control statements

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.

10 min read
Cover image of "We don't need mutations"

We don't need mutations

Mutations are at the core of pretty much every single bug in JavaScript. So let's explore how we can avoid them.

6 min read
Cover image of "Shortest FizzBuzz"

Shortest FizzBuzz

FizzBuzz is an outdated interview exercise; let's make it fun by golfing with it trying to make the shortest possible version.

6 min read
Cover image of "We don't need classes"

We don't need classes

Classes are an inadequate encapsulation mechanism in JavaScript. Let's explore the reasons why.

5 min read
Cover image of "Fixing the government code"

Fixing the government code

We look at a piece of code from the Argentinian government COVID WebApp and fix some glaring issues.

4 min read
Cover image of "reduce or for…of?"

reduce or for…of?

We go over the pros and cons of using "reduce" and using "for…of" to answer the question of which one is better.

3 min read