TLDR Web Dev · OPINIONS & ADVICE
WRITE CODE THAT IS EASY TO DELETE, NOT EASY TO EXTEND.
Summary from the TLDR Web Dev newsletter
It's better to have a mindset of writing code that is easy to delete. To do this, you can start by copying and pasting code to avoid unnecessary dependencies, then progressively layer and modularize code to isolate complex or changeable parts. The end goal is to create code that can easily adapt to change and iteration.