To achieve happiness ๐Ÿ‘‡

  1. Stop coding
  2. Repeat until happy

Coding is terrible for your mental health. It makes you focus on things that can go wrong, find faults in tiny details, and generally focus on the negative aspects.

When something works, you think, “That’s strange, usually things don’t work. What am I missing?”

And you get frustrated with things you can’t control. Like people. You try to analyze them like computers. You get frustrated with how longwinded they are. They ramble.

And the more time you spend coding, the more you realize that computer systems never work. Theyโ€™re too complex, and there are too many hidden assumptions, too many things that can go wrong, too many things that DO go wrong. Large computer systems are always going to have bugs. Big bugs. Bugs nobody noticed. Bugs nobody even knows exist yet.

Sometimes you see code, and you think, “How did this ever work?”

How many codes out there are like that? โ€How did this ever work?โ€ someone will say when it goes wrong and a trading bot wipes a few billion dollars off the stock exchange or crashes a Mars lander into a mountain.

The world runs on computers.

How are we even still alive?

Learned something new? ๐Ÿ’Œ

Join 8,400+ people becoming better Frontend Engineers!

Here's the deal: leave your email and I'll send you an Interactive ES6 Cheatsheet ๐Ÿ“– right away.ย  After that you'll get an email once a week with my writings aboutย React, JavaScript,ย  andย life as an engineer.

You should follow me on twitter, here.