Can AI write code?
AI coding assistants can suggest code, explain existing functions and draft changes. Start with a small change whose behavior you can test. Read the proposed edit and run it with typical and unusual inputs before you merge it.
Try it
- Describe the expected behavior.
- Provide a small input and the exact expected output.
- Run the same test yourself after the edit.
Worked example
Ask for a function that formats a list of names. Test an empty list, one name and a name with an apostrophe.
Check your result
Check whether changing one feature altered an existing caller. A passing happy-path example is only one data point.