🛠️Code Generation (AI)
Also known as AI Code Generation, AI-Generated Code, Text-to-Code
An AI writes program code from a plain request.
Think of it like
It is like telling a baker what cake you want. The baker does the mixing.
Example
Lucy types "a Python function that checks if a word reads the same both ways". The model writes six lines and a test.
Why it matters
It turns hours of typing into minutes. The saved time only counts if the code is checked.
Definition
Common mistake
Key takeaways
- 1Plain request in. Describe what the code must do.
- 2Code out. From one line to a small app.
- 3Check it. Read it and run the tests.