mlsanityData to 7 Oct 2026

Substance Beats Style: Why Beginning Students Fail to Code with LLMs

arXiv 2410.19792 ↗First posted 15 Oct 2024cs.CY cs.LGcited by 5

Not on the map. Why?

Abstract (arXiv)

Although LLMs are increasing the productivity of professional programmers, existing work shows that beginners struggle to prompt LLMs to solve text-to-code tasks. Why is this the case? This paper explores two competing hypotheses about the cause of student-LLM miscommunication: (1) students simply lack the technical vocabulary needed to write good prompts, and (2) students do not understand the extent of information that LLMs need to solve code generation tasks. We study (1) with a causal intervention experiment on technical vocabulary and (2) by analyzing graphs that abstract how students edit prompts and the different failures that they encounter. We find that substance beats style: a poor grasp of technical vocabulary is merely correlated with prompt failure; that the information content of prompts predicts success; that students get stuck making trivial edits; and more. Our findings have implications for the use of LLMs in programming education, and for efforts to make computing more accessible with LLMs.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 14 of its 39 references that are in the map. First posted on arXiv 15 Oct 2024.

Builds on

14 of 39 references.

References · 14

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 612
  3. 2022The Unreliability of Explanations in Few-shot Prompting for Textual Reasoningcited by 169
  4. 2024Top Leaderboard Ranking = Top Coding Proficiency, Always? EvoEval: Evolving Coding Benchmarks via LLMcited by 38
  5. 2024What Should We Engineer in Prompts? Training Humans in Requirement-Driven LLM Usecited by 24
  6. 2024GhostWriter: Augmenting Collaborative Human-AI Writing Experiences Through Personalization and Agencycited by 18
  7. 2023Promptly: Using Prompt Problems to Teach Learners How to Effectively Utilize AI Code Generatorscited by 16
  8. 2022Piloting Copilot, Codex, and StarCoder2: Hot Temperature, Cold Prompts, or Black Magic?cited by 14
  9. 2024Keyframer: Empowering Animation Design using Large Language Modelscited by 9
  10. 2024Understanding the Human-LLM Dynamic: A Literature Survey of LLM Use in Programming Taskscited by 9
  11. 2024Sketch Then Generate: Providing Incremental User Feedback and Guiding LLM Code Generation through Language-Oriented Code Sketchescited by 7
  12. 2024EditScribe: Non-Visual Image Editing with Natural Language Verification Loopscited by 6
2 more
  1. 2024NoviCode: Generating Programs from Natural Language Utterances by Novicescited by 2
  2. 2024Interactions with Prompt Problems: A New Way to Teach Programming with Large Language Modelscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 1.

5 papers.