Writing code is a lot like maintaining a Bonsai Tree.
If you stop pruning it it’ll stop
being a Bonsai and turn into a bush. Little tweaks, frequently aesthetic ones,
will help to keep it beautiful and under control. It will still grow in
unexpected directions, as other developers make changes, but careful pruning
will keep it balanced, and healthy.
What is “careful pruning” then?
Each file is a branch on our tree. The methods, are leaves. We come in to work
and start examining one of the branches. Some days we need to encourage it to
grow a specific way by adding a feature. Some days we make little snips to
correct a bug. But what happens if, upon examining your branch for other
reasons, you discover that it’s grown into spirals and knots. You can’t reach
your clippers in to snip the leaves you need. You can’t do much of anything
without difficulty and frustration, and frankly, it looks like crap. The
unexpected spirals and knots need to go.