Prompt Problems: A New Programming Exercise for the Generative AI Era

https://arxiv.org/pdf/2311.05943

"we introduce a new type of programming exercise to hone this nascent skill: ‘Prompt Problems’. Prompt Problems are designed to help students learn how to write effective prompts for AI code generators. A student solves a Prompt Problem by crafting a natural language prompt which, when provided as input to an LLM, outputs code that successfully solves a specified programming task"

"To write prompts that are clear, it is often necessary to communicate problem solving steps, and this draws on computational thinking skills"

"Several participants found that writing prompts helped them improve their problem-solving skills, as they could focus on the logic required rather than low-level syntax"

@impactology You are in good company. This is exact;y the point Leslie Lamport is making about coding vs programming. He also has some nice videos.

https://cacm.acm.org/opinion/who-builds-a-house-without-drawing-blueprints/

@spdrnl "The only general rule I have is that a specification of what a piece of code does should describe everything one needs to know to use the code. It should never be necessary to read the code to find out what it does"

Gold standard of documentation isn't it?

@spdrnl Is there a visual diagramming way to practice predicate logic and elementary set theory for describing code spec?
Paper of the Week: Statecharts: A Visual Formalism for Complex Systems - Blog - Recurse Center

The Recurse Center is a self-directed, community-driven educational retreat for programmers in New York City.

Recurse Center