[Paper Review] What is it like to program with artificial intelligence?
The paper examines how LLM-assisted programming differs from traditional programmer assistance, discusses reliability and usability, and reports on end-user spreadsheet programming with LLMs.
Large language models, such as OpenAI's codex and Deepmind's AlphaCode, can generate code to solve a variety of problems expressed in natural language. This technology has already been commercialised in at least one widely-used programming editor extension: GitHub Copilot. In this paper, we explore how programming with large language models (LLM-assisted programming) is similar to, and differs from, prior conceptualisations of programmer assistance. We draw upon publicly available experience reports of LLM-assisted programming, as well as prior usability and design studies. We find that while LLM-assisted programming shares some properties of compilation, pair programming, and programming via search and reuse, there are fundamental differences both in the technical possibilities as well as the practical experience. Thus, LLM-assisted programming ought to be viewed as a new way of programming with its own distinct properties and challenges. Finally, we draw upon observations from a user study in which non-expert end user programmers use LLM-assisted tools for solving data tasks in spreadsheets. We discuss the issues that might arise, and open research challenges, in applying large language models to end-user programming, particularly with users who have little or no programming expertise.
Motivation & Objective
- Assess how LLM-assisted programming aligns with or diverges from existing programmer assistance paradigms.
- Summarize capabilities, limitations, and reliability concerns of code-generating LLMs in real-world tools like Copilot.
- Review usability, design studies, and experience reports to identify key usability issues for programmers.
- Discuss implications for end-user programming and spreadsheet tasks when using LLM-assisted tools.
Proposed method
- Synthesize publicly available experience reports of LLM-assisted programming.
- Draw on usability and design studies comparing AI-assisted tools to traditional methods.
- Discuss safety, reliability, and security implications of code-generating models.
- Compare LLM-assisted programming to search, compilation, and pair programming as metaphors.
- Summarize findings from end-user programming studies in spreadsheets.
Experimental results
Research questions
- RQ1What are the core similarities and differences between LLM-assisted programming and traditional programmer assistance (e.g., compilation, pair programming, search and reuse)?
- RQ2What usability, reliability, and safety challenges arise when using LLMs for code generation in practice?
- RQ3How do end-user programmers in non-traditional domains (e.g., spreadsheets) experience LLM-assisted programming?
Key findings
- LLM-assisted programming shares some properties with compilation, pair programming, and programming via search, but has fundamental differences in technical possibilities and user experience.
- Code generation models can produce whole function bodies and test cases, yet may copy from training data and produce incorrect or out-of-scope code.
- Usability studies show prompt framing and debugging as major challenges, with potential for reduced task time but mixed effects on correctness.
- End-user programming studies reveal issues in intent specification, code correctness, comprehension, and the need for better onboarding and tooling for non-expert users.
- Commercial tools like GitHub Copilot illustrate benefits in starting points and API discovery, but effectiveness depends on prompt quality and user handling of generated code.
- Reliability and safety concerns include vulnerability propagation, over-reliance, and the need for code review and testing of AI-generated code.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.