Paper argues LLM code generation suffers from a paradigm mismatch in object-oriented programming
An arXiv paper contends that AI-generated software stays brittle because requirements describe multi-entity scenarios while object-oriented code describes single classes, forcing error-prone translation.
In plain words
The authors argue that AI coding tools struggle because of a structural mismatch, not just model quality. Requirements usually describe scenarios where several objects work together, but object-oriented code organizes behavior one class at a time. Turning one into the other means splitting scenarios across classes, a design step they say is too fast and complex for developers to review reliably.
What was announced
Writing in an arXiv paper, the authors argue that large language models and agentic coding tools have revived the goal of building software directly from requirements, yet large-scale industrial experiments still produce systems that are brittle and hard to evolve. They attribute this to a paradigm mismatch: functional requirements are often inter-object, meaning several entities collaborate in a scenario, while object-oriented code is intra-object, with each class specifying one entity's complete behavior across all scenarios. To generate such code, an LLM must split each scenario across classes, a design task they describe as error-prone, with too many decisions arriving too quickly for developers to review.
The paper says better models may make fewer errors but cannot skip this translation step, because the target paradigm rather than the model demands it. The authors trace five bodies of work spanning specification, model reasoning, generated code, documentation, and human review, all converging on this challenge. Using an illustrative example, they identify four limitations: amplified over-specification, unmanageable cross-cutting concerns, loss of comprehension, and concealed hallucinations. They close with proposed directions for mitigating the mismatch.
What it does not show
- The source is only the paper's abstract, so the four limitations, the five bodies of work, and the mitigation directions are not detailed and cannot be independently verified from this excerpt.
- The industrial experiments are cited by the authors but not described in the excerpt, and no independent confirmation of their results is provided.
Sources
Source-support review completed 5 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 5 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.