Have you ever tried using an LLM to refactor a legacy system, only to find it "less useful than expected"? When you throw ...
Code refactoring is an important process in software development that involves restructuring code without changing its functional behavior. Refactoring is important for many reasons, with the main ...
Just having AI write code is not enough. Thoughts from refactoring existing systemsRecently, I have had more opportunities to ...
I gave an AI agent one prompt and scored the codebase after every commit. Health 50 to 61, 10,000 lines gone, and a hard stop where tests ran out.
One thing that most application developers and testers eventually encounter -- especially when working with complex applications or across large teams -- is code smells. "Smelly" code means that the ...
The goal of code refactoring is to fight software entropy and improve nonfunctional attributes of the software. For example, refactoring can help make software code more efficient, resolve bugs, and ...
For most developers, maintaining and refactoring legacy code is all in a day’s work. But what about when the code was written by AI? Generative AI is no longer a novelty in the software development ...
Every day, software developers make decisions that they later regret. They may be tiny decisions, such as the name to use for a variable, or they may be major decisions such as the metaphor to use for ...
Adam Stone writes on technology trends from Annapolis, Md., with a focus on government IT, military and first-responder technologies. As state and local governments work to modernize their IT systems, ...
I usually try to follow the advice of the book Working Effectively with Legacy Code. I break dependencies, move parts of the code to @VisibleForTesting public static methods and to new classes to make ...
When software developer and industry thought leader Martin Fowler first approached the topic of refactoring in his book — Refactoring: Improving the Design of Existing Code — it was the late 1990s and ...