Back in the spring, as I was walking back from the mailbox I noticed a tiny little green weed inside a purple bush. The bush hadn’t bloomed yet and was still bare from the winter. I briefly thought about going and pulling the weed, but I kept thinking:
- I have 10,000 other things I need to do
- It will still be their tomorrow
- When the bush blooms it will block out the sun, and without sun it will die.
The third thought was partially right. The bush bloomed and the weed seemed to miraculously be gone. Out of sight, out of mind, they say.
Fast forward to the fall and I’m making my same trip to the mailbox and this time I see a huge green leaf coming out of the top of the bush. The little weed that would have taken 30 seconds to pull has now turned into a massive tree like structure.
I tug and I tug, it’s impossible to remove, the roots from both are all intertwined.
Now pretend that weed is a piece of nasty weird code that you come across in your app. Don’t be lazy, go improve it before it grows out of control.
This post is an excerpt from my Laravel News digest. A weekly email about the Laravel framework.