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.

Follow

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 How does the saying go? Hindsight is 20/20

Sign in to participate in the conversation
niu.moe

Welcome to your niu world ! We are a cute and loving international community O(≧▽≦)O !
We are a moderated instance, that aren't supporting harassment nor hateful speech. But we aren't a "safe" space, we won't prevent you to interact with instances that aren't respecting our rules.
"Be conservative in what you send and liberal in what you receive." - Netiquette
The main language used here is English, but for most of us this isn't our main language, so it's a great place to learn!