Follow

Just spent an hour fixing a tiny bug in some Javascript code I wrote 8 years ago. Back then I still thought it was a good idea to write complex UIs with plain DOM manipulation and a tangled mess of global variables.

Even my C code from that time is infinitely more maintainable.

To my past self's defense, I was fully aware back then that the code was a horrible mess, I simply hadn't a clue how to do it well without using bloated frameworks that would have long been out of fashion by now. But nowadays we have much better options, such as Elm.

@ayo i felt my soul getting crushed out of my body and my brain liquefying while reading this.

@ayo How does the saying go? Hindsight is 20/20

Sign in to participate in the conversation
niu.moe

We are a cute and loving international community O(≧▽≦)O !