Work

The Price of AI Assistance: The Undermining Effect of AI-Generated Code on Developers’ Procedural Knowledge

Year: 2025
Type: article
Abstract: The emergence of advanced large language models enables artificial intelligence (AI) based agents to assist developers in writing computer code to an unprecedented extent. Due to this development, AI-based agents have become integral to developers’ daily workflows. While ongoing enhancements in the code quality provided by AI-based agents aim to improve developers’ productivity, it is far from clear how that development affects developers’ knowledge of how to write functional computer code (i.e., developers’ procedural knowledge). To answer this question, we drew on cognitive load theory and conducted an online experiment with 85 developers. Our results reveal that developers receiving assistance with higher (vs. lower) code quality from AI-based agents exhibit relatively lower procedural knowledge. Furthermore, our results demonstrate that developers’ cognitive load is a crucial explanatory variable for this effect. Overall, our study illustrates a different perspective on the potential consequences of the ever-increasing code quality provided by AI-based agents.
Language: English
Open Access status: green
OpenAlex ID: W7042586330
FWCI: 0.396
Cites: 49
Cited by: 1
Related to: 10