Refactoring legacy applications
A clean slate is one of the most convenient things in the world. I am going to show you two sheets of paper, and you can tell me which one you’d want to draw on:
Figure 5.2 – A new application versus a legacy application, illustrated
If you chose the right one, congratulations – you are now a DevOps engineer! Don’t look too deeply into this particular drawing; it’s just some rubbish I put together.
You see, DevOps engineers rarely get to work with their code. Even developers getting to work with their code is getting rarer these days. In my experience, I have only worked with a clean slate on a project in any non-personal capacity once or twice. Many of you who are just starting may have only worked with either projects you coded yourself or little template projects you may have found. However, in a real-life scenario, that is quite rare.
Even if you work with a blank slate, unless...