Chapter 5

Progressing from Plan to Prototype

IN THIS CHAPTER

Bullet Understanding your project's requirements

Bullet Coding a prototype with prompts

Bullet Blending your code with AI-generated code

Bullet Tips for generating better code

Although it’s possible to work with an AI coding assistant to generate working code and even entire programs, acceptable results are far from guaranteed. The quality of the results you’ll get depends on several factors, including the LLM you use, the input you give the model, your own coding skills, and how clearly you’ve defined the project’s requirements.

Chapter 4 provides an example of using AI to do something most programmers could do faster and better without AI. In this chapter, you start to learn processes and tips for getting consistent and higher-quality results.

Understanding Project Requirements

If you've ever been thrown into working on a new project that you don't fully understand, you can identify with what a coding assistant would feel like all the time — if a coding assistant could feel anything. Although coding assistants have seen a lot of code, the only ...

Get Coding with AI For Dummies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.