Pair Programming with AI
1h 28mAdvanced2023-04-03
Authors

Morten Rand-Hendriksen
Senior Staff Instructor, Speaker, Web Designer, and Software Developer
Course details
If you’re a programmer, you’re probably curious (and maybe a little apprehensive) about what artificial intelligence can do for your work. In this course, Morten Rand-Hendriksen shows you how you can supercharge your software development with the help of an AI pair programmer. Morten shares practical strategies and hands-on practice on how to leverage AI tools like ChatGPT and GitHub Copilot to increase productivity and write better code. He demonstrates how to employ AI to address common tasks, how different AI tools differ, and offers an understanding of what is possible, how AI tools can fit into your work, and—importantly—where the current limits and guardrails are.
Skills covered
GitAgile Software DevelopmentGitHubChatGPTOpenAIArtificial Intelligence FoundationsDevOpsArtificial Intelligence (AI)Open SourceDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Pair programming with AI
- 02 - How to use the Codespaces exercise files
1. Setting the Stage
- 03 - Using AI as a pair programmer - A practical example
- 04 - Tools used in this course
- 05 - A note on how to use ChatGPT
- 06 - How does AI know how to read and write code
- 07 - Mental models for AI pair programmers
2. Writing Code with AI Assistance
- 08 - Start from a prompt
- 09 - Start with a seed
- 10 - Accepting suggestions from GitHub Copilot
- 11 - Helping the AI with pattern recognition
- 12 - GitHub Copilot is context aware
- 13 - Surface boilerplates and common patterns
3. Getting Help from Your AI Pair Programmer
- 14 - Using ChatGPT to explain code
- 15 - Using GitHub Copilot Labs to explain code
- 16 - Using Bing Chat to explain code
- 17 - Using AI to refactor code
- 18 - Using AI to generate comments and documentation
- 19 - Using AI to find and explain errors
- 20 - Using AI in test-driven development
4. Can AI Write Code from Scratch
- 21 - Asking ChatGPT to build a timer
- 22 - ChatGPT timer - Does it work
- 23 - Asking ChatGPT to build a typing speed tester
- 24 - ChatGPT typing speed tester - Does it work
- 25 - Asking ChatGPT to build a one-page portfoilo website
- 26 - ChatGPT portfolio website - Does it work
Conclusion - This Is the Beginning of the Future
- 27 - Further resources
Related courses
- AI Pair Programming with GitHub Copilot X
- AI Pair Programming with GitHub Copilot (2022)
- Build with AI: Beyond Pair Programming with AI
- AI Pair Programming with GitHub Copilot
- Rust Programming: From Fundamentals to Advanced Concepts with AI-Assisted Development
- Terminal-First AI Pair Programming with GitHub Copilot CLI
- Building Test-Driven React Components with Copilot
- Structured Vibe Coding with AI Coding Agents
Related learn paths
- Learn Vibe Coding: Build Apps with AI-Powered Coding
- Improve Your Programming Skills with Artificial Intelligence
- Transform Your Programming with AI Coding Tools
- Career Essentials in GitHub Copilot Professional Certificate
- Building Generative AI Skills for Developers
- Building Generative AI Skills for Web Developers
- Master GitHub Copilot
- Getting Started with Agile Software Development