<p>In a context where it is debated whether learning to program will remain necessary or whether artificial intelligence (AI) can perform programming on behalf of users, this article reports an <i>exploratory empirical study</i> asking whether individuals without prior programming experience can effectively solve simple coding tasks using a generative tool with a natural-language interface. We used ChatGPT (GPT-4o) because its conversational interface is accessible to non-programmers, unlike tools such as Copilot or Codex that require IDE integration and greater technical setup. We implemented a quasi-experimental design comparing two plausible strategies for solving the same tasks, and analyzed task success using a <InlineEquation ID="IEq1"> <EquationSource Format="TEX">\(\varvec{\chi }^{\varvec{2}}\)</EquationSource> </InlineEquation> test of independence with effect sizes, and resolution time using Welch’s <InlineEquation ID="IEq2"> <EquationSource Format="TEX">\(\varvec{t}\)</EquationSource> </InlineEquation>-tests complemented by non-parametric Mann–Whitney <InlineEquation ID="IEq3"> <EquationSource Format="TEX">\(\varvec{U}\)</EquationSource> </InlineEquation> tests as robustness checks. The findings suggest that, in this controlled setting, a conversational code-generation tool can enable some non-programmers to solve small, well-specified programming challenges with effectiveness comparable to programmers without AI, and with substantially shorter completion times, especially for the high-complexity task. However, we do not claim that AI fully bridges the gap between experts and non-experts: our design does not include a programmers-with-AI condition nor a non-programmers-without-AI baseline, and focuses on short, individual tasks rather than sustained software development. We therefore interpret our results as exploratory evidence of AI as an enabler for non-programmers under constrained conditions, which complements existing work on AI-assisted programming and informs ongoing debates on how AI may reshape roles in software engineering.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Can generative AI bridge the gap? A quasi-experimental study of non-programmers with AI vs. programmers without AI

  • Leonardo Martín Esnaola,
  • Hugo Dionisio Ramón,
  • Laura Cristina Lanzarini

摘要

In a context where it is debated whether learning to program will remain necessary or whether artificial intelligence (AI) can perform programming on behalf of users, this article reports an exploratory empirical study asking whether individuals without prior programming experience can effectively solve simple coding tasks using a generative tool with a natural-language interface. We used ChatGPT (GPT-4o) because its conversational interface is accessible to non-programmers, unlike tools such as Copilot or Codex that require IDE integration and greater technical setup. We implemented a quasi-experimental design comparing two plausible strategies for solving the same tasks, and analyzed task success using a \(\varvec{\chi }^{\varvec{2}}\) test of independence with effect sizes, and resolution time using Welch’s \(\varvec{t}\) -tests complemented by non-parametric Mann–Whitney \(\varvec{U}\) tests as robustness checks. The findings suggest that, in this controlled setting, a conversational code-generation tool can enable some non-programmers to solve small, well-specified programming challenges with effectiveness comparable to programmers without AI, and with substantially shorter completion times, especially for the high-complexity task. However, we do not claim that AI fully bridges the gap between experts and non-experts: our design does not include a programmers-with-AI condition nor a non-programmers-without-AI baseline, and focuses on short, individual tasks rather than sustained software development. We therefore interpret our results as exploratory evidence of AI as an enabler for non-programmers under constrained conditions, which complements existing work on AI-assisted programming and informs ongoing debates on how AI may reshape roles in software engineering.