Ball of yarn analogy
Why is it important to keep cleaning up your code?
Working with code is like working with a ball of yarn while knitting. You could put it down without cleaning it up. But after a few knitting sessions of not cleaning it up nicely, you’ll be left with a jumbled mess and will spend more time detangling than actually knitting. Instead, spend a little bit of effort all the time to keep it nice and tidy.
h/t Coding Jesus