# Rubber Duck

__

Exercise

+1 also learning

# 01. Vibe Check|

## New Slang

**“Vibe coding”** is a term coined by [Andrej Karpathy](https://karpathy.ai/) (OpenAI founding member) in February 2025. It's a playful way to describe an emerging way of programming where engineers rely heavily on large language models (LLMs) to generate code. Instead of meticulously writing every line, the human guides the AI, accepts suggestions, and iterates along the way.

Welcome to our first vibe coding course on Codédex. 😎

## GitHub Copilot

[GitHub Copilot](https://github.com/features/copilot) is an AI pair programmer that helps you write code faster. As the name suggests, it is designed to serve as your assistant, aka a copilot! It draws context from comments and code to suggest entire lines, functions, or even boilerplate code instantly.

Copilot was developed by GitHub (a Microsoft company) in collaboration with OpenAI and launched in 2022. It just surpassed 20 million all-time users! Woah.

### How It Works

GitHub Copilot is powered by [Codex](https://openai.com/index/introducing-codex) (not to be confused with Codédex 🫣), an AI agent created by OpenAI. Over time, it’s been updated to use other, more powerful AI models, making it a much more complete and flexible tool for programmers. The AI models were trained on huge amounts of publicly available code, especially GitHub public repos. When you type code or comments, Copilot analyzes the context and generates suggestions in real time. It’s not copy & pasting, but making predictions based on patterns.

### Key Features

- **Code Suggestions:** Get entire lines or blocks of code suggested to you as you type.
- **Boilerplate Generation:** Skip the repetitive stuff with auto-generated templates.
- **Documentation:** Generate READMEs and describe changes in your pull request.
- **Learning Aid:** Discover new ways to solve problems and learn new APIs.
- **Test Generation:** Receive suggestions for writing unit tests, which are small tests that check whether a piece of code (like a function) works as intended in isolation.

In this course, we'll set up GitHub Copilot and then build an application from start to finish.

Let's get started.

P.S. Huge thanks to the GitHub Education & Microsoft teams for partnering with us on the course! 🫰

## Instructions

Quick vibe check: Make sure you have a GitHub account: [https://www.github.com](https://www.github.com/)

Then, press "Mark complete" and "Next". You’re ready to go!

Happy vibe coding! 🦾

### Help

Don’t worry if this feels fuzzy right now, you’ll get hands-on practice with GitHub Copilot soon~

To sign up, click the [Sign up] button on the GitHub landing page and fill out this info:

Hint

Don’t worry if this feels fuzzy right now, you’ll get hands-on practice with GitHub Copilot soon~

To sign up, click the [Sign up] button on the GitHub landing page and fill out this info:

Still want help? Get live help from other learners in our Discord.

[Join Discord](https://discord.com/invite/vSKEhP9fY2)

# New Item Unlocked!

Rubber Duck

Rubber duck debugging is a classic technique used by developers to debug code. By explaining the code line-by-line to a rubber duck, you can break down the code into smaller pieces, and potentially identify the error.

... It's silly, we know.

Continue Learning

### New Item Unlocked!

Lumi

👋 I’m Lumi, a coding mentor bot here to answer any questions related to programming, Codédex, projects, and much more.

Continue Learning

### New Item Unlocked!

Editor Themes

Congrats! You unlocked Editor Themes. You can now change the theme of the editor to your liking.

Continue Learning

### FEATURE UNLOCKED!

You have **100 XP**! This means you can now join our On-Platform Community to chat and hang out with fellow learners!

Say hi in the **Introductions** channel. 😊

[Join Community](/content/community?invite=success/index.html)
