Disclaimer: This is my personal opinion, take it with a grain of salt.

Image for post
Image for post
Navigating JS code can feel like a maze — Photo by Rafif Prawira on Unsplash

I was recently thrown into a huge Javascript codebase and I found it extremely hard to navigate.

One thing that struck me was that a lot of the same things were done in different ways. Each solution trying to be more clever and in fewer lines of code than the previous solution.

Personally, I believe that everyone should write boring code. Boring code is great as it is easy to write, change, and delete.

For the last year, I worked mostly in Go, and Go is great for writing boring code!

Most of the time there is only 1 way to do a certain thing. So, everyone is forced to write the same code. Which is great to help people understand each other’s code. …


Dirk Hoekstra

Indie hacker from Amsterdam. Creator of coffeecoding.dev

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