Thoughts on Legacy Code and How to Live With it
👋 Hey friends! John here.
I while back I wrote about what is legacy code and some hints on how to live with it. Upon making some reading I stumbled across the following quote from Joel Spolsky's legendary article Things You Should Never Do.
It's harder to read code than to write it
This was the spark for me to start thinking about legacy code and led me to rethink my whole approach. Then I heard Swizec Teller on the Maintainable podcast episode — which I highly recommend — talking about the same topic.
If you refactor the majority of a codebase where nothing from the original code exists, were you rewriting or refactoring?
Boom! Another mental shift for me.
Thoughts on Legacy Code and How to Live With it
In other news, I started another newsletter called Curiosity Sink where I write about other things besides programming.
Here is one I wrote a while back
Next week I’ll be starting a series of articles related to the crypto world where I explain all the core concepts and topics of this fascinating space. I’m not an advocate nor a critic of the whole crypto world, neither I evangelize it so don’t expect strong opinions or me taking sides. I'll try to be as unbiased as possible.
If you are interested — not only about crypto — you can subscribe here.
Until next time you can take a look at older posts here.