Really insightful piece, I love the analogy to medicine and how it applies to legacy code. Do you find that focusing only on changed lines ever misses deeper issues, or does it generally keep the codebase healthy over time? Thanks for sharing your approach!
Primum nil nocere in PHP: First, Do No Harm
István DöbrenteiBackerLeader
posted
Originally published at dev.to
1 min read
0 Comments
István Döbrentei
•
Thank you for your question, Andrew. Focusing only on changed lines usually works well because it keeps changes safe and improves the areas we touch most often, but it is true it can miss deeper design flaws. My approach is to fix what I see in the changed lines, and if I notice a bigger issue, it could be flagged for a separate refactor. Working with a legacy-based product is always a challenge and an ongoing process.
Please log in to add a comment.
Please log in to comment on this post.
More Posts
chevron_left