AI pair programming
AI pair programming is the practice of working alongside an AI coding assistant continuously — sharing intent, reviewing suggestions, accepting / rejecting / refining — instead of using AI for occasional one-off tasks.
In more detail
What it means
AI pair programming emerged from GitHub Copilot's autocomplete-first model and matured in 2024-2026 with chat-driven assistants (Cursor, Cline, Windsurf, Claude Code). The practice: maintain a conversation with the AI about what you're building, share files and errors, accept good suggestions and refine bad ones, treat the AI like a junior pair who needs context. Engineers who internalised this practice report 30-50% productivity gains on greenfield work. Where it underperforms: codebases with strong local conventions the AI doesn't know, edge cases the AI hasn't seen, refactors requiring deep system understanding.
Part 1 of 2
When to use it, and when not
Use it for
- Greenfield development.
- Boilerplate-heavy work.
- Routine refactoring and test writing.
Part 2 of 2
Common mistakes
- Accepting AI suggestions without reading them — quality varies.
- Skipping verification because AI 'sounded confident'.
FAQ
Questions readers ask.
What is ai pair programming?
AI pair programming is the practice of working alongside an AI coding assistant continuously — sharing intent, reviewing suggestions, accepting / rejecting / refining — instead of using AI for occasional one-off tasks.
When should you use ai pair programming?
Greenfield development. Boilerplate-heavy work. Routine refactoring and test writing.
What are the common mistakes with ai pair programming?
Accepting AI suggestions without reading them — quality varies. Skipping verification because AI 'sounded confident'.
Last updated: 2026-06-01. Raw markdown: https://promtable.com/glossary/ai-pair-programming.md. Found a mistake? Tell us.