Developer proposes 'Domain-Driven Agents' method to fix AI coding failures in legacy code
A software engineer describes how LLM coding assistants perform well on new, small projects but degrade sharply on older codebases burdened with technical debt and inconsistent naming conventions. The core problem, he argues, isn't the AI model itself but that legacy systems lack a clear, shared vocabulary for concepts, forcing the model to guess and often introduce duplicate or wrong abstractions. He proposes incrementally building clarity into codebases—using domain-driven design principles—so AI agents have unambiguous context to work from.