Is It Hype? Github Copilot (The Future of Programming)

IndyDevDan · Beginner ·💻 AI-Assisted Coding ·3y ago

Key Takeaways

The video showcases Github Copilot, an AI coding assistant, demonstrating its capabilities in generating code for Python and Node.js applications, and assisting in writing mutations in a store with minimal work. It highlights the tool's ability to analyze comments and generate functions based on them, and its potential to help engineers work faster.

Full Transcript

write a string to a file i'm going to start typing the definition already you can see based on the comment ghetto copilot has completed this function for me these aren't code snippets i'm not running macros this is an ai coding assistant that is looking at what i'm doing and making predictions on what i want this is really cool because i have written just three comments and hit tab a couple times and i have 18 lines of code what's up guys today i want to talk about github copilot i want to answer the question is it hype this will be the third video in the is it hype series a series where i try out new and existing technologies to determine if they're actually useful for developers like you and i so is github copilot hype does it live up to the expectations is it useful is ai pair programming everything that it's summing up to be first off let me go ahead and just answer the question yes i've been using github copilot for about a year now and i can tell you that my productivity has gone up drastically github copilot is so good that i think there'll be a gap between engineers who know how to use ai programming assistants and those who don't in this video i'm going to show you how github copilot can take your developer productivity to the next level let's get into it alright so we have an empty python file here i have an empty directory here and what i want to do here is just write to a file so i'm going to type a comment and i'm just going to say write a string to a file i'm going to start typing the definition and already you can see based on the comment ghettocopilot has completed this function for me these aren't code snippets i'm not running macros right like this is an ai coding assistant that is looking at what i'm doing and making predictions on what i want that's pretty cool so now we have a function that we can write to a file let's let's keep going right how well can github copilot really listen right so let me drop another comment right create a list of objects with three key value pairs of different types and interestingly you can see that as i'm typing i was typing different and it actually guessed that i wanted to say different types so it's already inferring what i want to see so let me just hit enter here sure we'll make it a function i'm fine with that okay and as you guys can see create lists it's so it's creating a list with three items in it and they all have uh they all do have different types right because we're gonna end up with a float here so that's really interesting that's really cool all right so let's keep going right so let's uh let's let's run some operations right so let me create a list you know let me generate my list here and now i want to um you know let's keep pushing get up co-pilot say i want to change the name right so that's something you do often like string modification so i'll write a comment here i'll say you know um for each item in the list update the name to uppercase [Applause] and write to a file right so kind of combining things here seeing if github copilot can keep up okay so got the for loop and it is uh it is doing the work for me right so keep in mind brett this is this is really cool because i have written just three comments and hit tab a couple times and i have 18 lines of code and this is just in within some four minutes right so you can see this you can see copilot really helping you out here as you build out you know large code bases as you work through hundreds and thousands of lines of code um you know the prediction isn't perfect i will say you have to you have to be looking at what co-pilot is generating for you but overall it is incredible at at get guessing what you want next based on the context around it all right so what else can we do with this let's run it right let's make sure that this actually runs so let's go ahead and run you know python main it ran fine no errors and look we got a a bunch of files generated and if you walk through the code you know we have this running exactly right so i have a right to file function create list and i'm getting a list with the name key value pair where the name is name plus the index getting generated i create this list called the function loop through and i upper case the name as you can see in the output it's calling my right to file function and if i step in to these items you can see that it just threw a string it wrapped the dictionary in the string call and that's going to give us this output so pretty incredible pretty incredible let's look at a node.js example and then i want to show you an example of how i use github copilot in my new application that i'm writing okay so now i have all right so i have express.js and you can probably guess what i'm going to try to do here i want to see if github copilot can generate an express.js application for me on the fly i'm just gonna type generate generate express app [Music] okay so so this is interesting right so it is generating an express app but you can kind of tell in this case github copilot is literally just reading from a like a an existing express js app and just guessing at all the different things that i want to do with it right it just keeps importing keeps setting up services you have to give github copilot some direction sometimes so let me be more specific here generate a small express app okay perfect so you know with a little more direction i literally just added the word small it knows what i want right i just wanted to spin up a tiny express js application now i want to show you an example of github copilot inside of an application that already has code written in it so i've opened up my application that i'm building called timeva feel free to check out my previous videos i'm in the process of launching time the v2 it's the second version of the application to help you manage your productivity so this is a real application the application is an electron vue.js typescript application and i'm using pina js as my store and i'm going to show you how github co-pilot can jump in here and help write mutations in my store with very very minimal work so let's jump into this so we have the store and check out my video on pinot stores if you're interested in that but long story short is we have state getters and actions actions are your mutators so what we're going to do is we're just going to kind of make up a new mutation based on some of the state i already have existing in the store and we're going to let github copilot do the work for me so what i'm going to do is i have this function that increments uh an occurrence of this object and what i'm going to do is just create the opposite right i'm going to create decrement so i'm just going to start typing here decrement tag occurrence and so it's starting to you know create and generate the code for me it's looking around and it's seeing that it's already done a version of this and there it is okay so you know this is one of those cases where like the code was right above and it's a decrement so you just minus minus but it can get a lot more complicated than that and you want github copilot to do these things for you okay so for instance let's just jazz this up a bit right let me create an arbitrary function replace activity tag right okay i want a tag and a tag to replace so i'm going to give github copy some more information here exactly new tag okay and it's going to call it looks like wow yeah just okay so it's coming here with the splice function it's just going to go ahead and find the index of this and cut one item and replace it with the new tag so just like that github copilot jumps in takes control and writes what i want to do i think the key thing you need to keep in mind with ghetto copilot is that you need to know what you're trying to accomplish i would never give get a copilot to an amateur programmer that doesn't know what they're trying to build or do when github copilot generates bad output it will cause bugs i've had cases where i'm just glossing over it not looking at the output of github copilot and i've created issues for myself so when you try this out definitely watch the code that's being generated github copilot is not going to replace engineers it's going to help engineers that know what they're doing do it faster okay i want to show you one more example inside the time of application let me undo all this and let's hop into all right so let's check out this file i've used github copilots to generate basically every function in this file previously so you can see here i have a bunch of converter functions that basically take um seconds and converts them into a different format so for instance this function here will take seconds and convert it into a minutes hour display with the shorthand format so what i'm going to do here is basically create a new function that does exactly this but in a different format so we're gonna see how well github copilot can look at my comment analyze what i'm looking for and then generate the function so all i'm gonna do here is come to the top and say converts converts time in seconds to i want this in let's see what what format let's do something kind of weird i want uh one hour and two it's really interesting it's it's even guessing formats for me which is really cool um one hour let's let's get tricky with it so i want 15 min right so this shorter format and then i want um 30s format right so it's very inconsistent i actually don't know if github copy will be able to pull this off so let's see okay let me change the name of this function i think this is a dupe um and i want to return a string here actually so you know sometimes it doesn't always generate the right output you have to give it some more information by just continuing to to code the thing that you're trying to see so seconds um long hour medium minute short second i don't know weird function name but whatever all right so it's first of all it's it's getting the hours minutes seconds and now it's now it's trying to generate some outputs and you can see here get up copilot actually fails to generate the output that i want to see right but even when github copilot fails it still gives you a lot of information to work with right like i can come in here and just change this hour min second and now it's complete right so even when get out co-pilot fails it's still giving you output and it's still saving you lines of code we're just scratching the surface of what github copilot can do github copilot is hype download it try it out it's going to make you a more productive engineer a couple things you have to watch out for don't over rely on it and make sure you know what you're trying to do before you ask github copilot to generate code for you huge thanks for watching the video give it a thumbs up and subscribe if you enjoyed it it really helps out the channel and i'll see you guys in the next one [Music]

Original Description

Github Copilot 👉 https://github.com/features/copilot Timeva 👉 https://timeva.app Is Github Copilot hype? YES! 📕 My story Hey coders. I'm Dan Isler, an indie developer from Minneapolis, Minnesota. I've been coding for 10+ years now and after grinding out code for tech companies I decided I wanted to prove to myself that I could build valuable software on my own terms. I quickly learned coding is only a third of the story. I'm learning to put together the remaining pieces in order to become a true solopreneur. In success or failure - I'll see you in the next one! 💻 See what I've built - Timeva https://timeva.app - Light Bulb https://lbulb.app ✅ Follow me here - Website https://danisler.com - Twitter https://twitter.com/IndyDevDan - Instagram https://www.instagram.com/indydevdan - Indie hackers https://www.indiehackers.com/IndyDevDan #️⃣ Hashtags #copilot #ai #isithype 📖 Chapters 00:00 Preview 00:25 Is Github Copilot Hype? 01:15 Python + Copilot 05:30 ExpressJs + Copilot 07:05 Timeva + Copilot 12:30 Things to look out for
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from IndyDevDan · IndyDevDan · 25 of 60

1 Senior developer codes ENTIRE electron app in 30 days (not for beginners)
Senior developer codes ENTIRE electron app in 30 days (not for beginners)
IndyDevDan
2 How I code custom components with vue.js, electron and GitHub Copilot (ASMR)
How I code custom components with vue.js, electron and GitHub Copilot (ASMR)
IndyDevDan
3 Coding a progress bar using vue.js, progressbar.js, pinia, and electron
Coding a progress bar using vue.js, progressbar.js, pinia, and electron
IndyDevDan
4 Vue + Electron settings menu and switch component wrapper (GitHub Copilot FTW)
Vue + Electron settings menu and switch component wrapper (GitHub Copilot FTW)
IndyDevDan
5 Zen mode, Hot keys, and circle progress bar in vue.js
Zen mode, Hot keys, and circle progress bar in vue.js
IndyDevDan
6 Coding picker components in vue.js for TIMEVA customizability.
Coding picker components in vue.js for TIMEVA customizability.
IndyDevDan
7 Coding a micro mode progress bar in vue.js on the balcony like a proper digital nomad.
Coding a micro mode progress bar in vue.js on the balcony like a proper digital nomad.
IndyDevDan
8 How to use dynamic css variables to create custom color themes for Timeva.
How to use dynamic css variables to create custom color themes for Timeva.
IndyDevDan
9 Building a minimal account page for my electron + vue.js app
Building a minimal account page for my electron + vue.js app
IndyDevDan
10 This is the final devlog
This is the final devlog
IndyDevDan
11 How to build and launch your next app in 30 days
How to build and launch your next app in 30 days
IndyDevDan
12 Learn Pinia in 10 MINUTES (Vue.js 3)
Learn Pinia in 10 MINUTES (Vue.js 3)
IndyDevDan
13 Learn Tailwind CSS by making a Cheatsheet | (30 Key CSS Properties)
Learn Tailwind CSS by making a Cheatsheet | (30 Key CSS Properties)
IndyDevDan
14 GitHub Copilot being hella useful when coding Electron + Vue.js app
GitHub Copilot being hella useful when coding Electron + Vue.js app
IndyDevDan
15 Vue Animations in 3 Lines of Code. (VueUse Motion)
Vue Animations in 3 Lines of Code. (VueUse Motion)
IndyDevDan
16 How to use VCCode Macros for Insane Developer Productivity (5x, 10x, 25x, 100x gains)
How to use VCCode Macros for Insane Developer Productivity (5x, 10x, 25x, 100x gains)
IndyDevDan
17 Is It Hype? Senior Engineer Learns GraphQL, Rages and Complains About Docs (RAW TAKE - Part 1)
Is It Hype? Senior Engineer Learns GraphQL, Rages and Complains About Docs (RAW TAKE - Part 1)
IndyDevDan
18 Is it Hype? Learn GraphQL by building an Express + GraphQL App (Part 2)
Is it Hype? Learn GraphQL by building an Express + GraphQL App (Part 2)
IndyDevDan
19 So you have an idea for an app. What's next? (3 Actions You Can Take Now)
So you have an idea for an app. What's next? (3 Actions You Can Take Now)
IndyDevDan
20 Coding Vue.js Components, Hooks, and Pinia State for Timeva v2
Coding Vue.js Components, Hooks, and Pinia State for Timeva v2
IndyDevDan
21 Coding Pomodoro Chaining (Vue.js, Electron, Pinia)
Coding Pomodoro Chaining (Vue.js, Electron, Pinia)
IndyDevDan
22 Programming Pomodoro Chaining PART 2 (Vue 3 Hooks Have Changed Me)
Programming Pomodoro Chaining PART 2 (Vue 3 Hooks Have Changed Me)
IndyDevDan
23 Chill Vue.js 3 Coding (Pom Chaining Part 3)
Chill Vue.js 3 Coding (Pom Chaining Part 3)
IndyDevDan
24 Senior Engineer Codes New App Feature With Vue.js, Copilot, Electron and TS.
Senior Engineer Codes New App Feature With Vue.js, Copilot, Electron and TS.
IndyDevDan
Is It Hype? Github Copilot (The Future of Programming)
Is It Hype? Github Copilot (The Future of Programming)
IndyDevDan
26 Achieving Balance as Engineers who want more from life (Raw Discussion)
Achieving Balance as Engineers who want more from life (Raw Discussion)
IndyDevDan
27 Indie Hackers Most Important Resource: RUNWAY
Indie Hackers Most Important Resource: RUNWAY
IndyDevDan
28 Timeva V2 - Customizable Productivity Timer For The Digital Age
Timeva V2 - Customizable Productivity Timer For The Digital Age
IndyDevDan
29 Notion API In 5 Minutes: Authentication (Python)
Notion API In 5 Minutes: Authentication (Python)
IndyDevDan
30 Notion API in 5 Minutes: Write (Python)
Notion API in 5 Minutes: Write (Python)
IndyDevDan
31 Notion API in 5 Minutes: Read (Python | Copilot)
Notion API in 5 Minutes: Read (Python | Copilot)
IndyDevDan
32 The AI Wave: 3 Years 3 Predictions 3 Actions (ChatGPT will be a Joke)
The AI Wave: 3 Years 3 Predictions 3 Actions (ChatGPT will be a Joke)
IndyDevDan
33 Notion API in 5 Minutes: How to Read Notion Databases in Python
Notion API in 5 Minutes: How to Read Notion Databases in Python
IndyDevDan
34 Notion API In 5 Minutes - Database Write (Add new rows in Python)
Notion API In 5 Minutes - Database Write (Add new rows in Python)
IndyDevDan
35 Automate Everything: Using The Notion API to automate tweets. Let’s Code
Automate Everything: Using The Notion API to automate tweets. Let’s Code
IndyDevDan
36 Going Serverless: Using Vercel Functions for our Notion Twitter App
Going Serverless: Using Vercel Functions for our Notion Twitter App
IndyDevDan
37 Serverless Cron Jobs: Automatically Run Your Serverless Functions With QStash And Vercel
Serverless Cron Jobs: Automatically Run Your Serverless Functions With QStash And Vercel
IndyDevDan
38 Let’s Break The Internet: ChatGPT API + Notion Infinite Tweet Generator
Let’s Break The Internet: ChatGPT API + Notion Infinite Tweet Generator
IndyDevDan
39 Survive the AI age: Managing AI generated content with Notion, Python, Vercel, and Cron.
Survive the AI age: Managing AI generated content with Notion, Python, Vercel, and Cron.
IndyDevDan
40 The AI Engineer: The Future of Programming
The AI Engineer: The Future of Programming
IndyDevDan
41 Master Disruption: How Top AI Engineers Will Dominate the GPT-X Era
Master Disruption: How Top AI Engineers Will Dominate the GPT-X Era
IndyDevDan
42 FFmpeg, GPT-4 & WhisperX: Convert Horizontal Videos to Vertical (97% AI)
FFmpeg, GPT-4 & WhisperX: Convert Horizontal Videos to Vertical (97% AI)
IndyDevDan
43 Why Use LangChain? A Blunt Overview for Advanced Engineers
Why Use LangChain? A Blunt Overview for Advanced Engineers
IndyDevDan
44 Nuxt + Vercel KV: Coding an AI Agent Network MVP (flow state devLog)
Nuxt + Vercel KV: Coding an AI Agent Network MVP (flow state devLog)
IndyDevDan
45 Build VueJS Components While You Sleep: First LLM Agent Network (V2)
Build VueJS Components While You Sleep: First LLM Agent Network (V2)
IndyDevDan
46 My Top 6 Modern Vue.js VSCode Snippets
My Top 6 Modern Vue.js VSCode Snippets
IndyDevDan
47 useComposable - Vue.js Composable Generator (GCP + Serverless + LLM)
useComposable - Vue.js Composable Generator (GCP + Serverless + LLM)
IndyDevDan
48 Let's Get Fired: Using AI Coding Assistant AIDER to do my Engineering Job
Let's Get Fired: Using AI Coding Assistant AIDER to do my Engineering Job
IndyDevDan
49 Writing code without coding - Browser TTS with AIDER (ASMR DEVLOG)
Writing code without coding - Browser TTS with AIDER (ASMR DEVLOG)
IndyDevDan
50 Learn Anything With AI: HTMX - FLASK - AIDER (asmr devlog)
Learn Anything With AI: HTMX - FLASK - AIDER (asmr devlog)
IndyDevDan
51 Advanced Prompt Engineering Techniques for FRONT-END Engineers
Advanced Prompt Engineering Techniques for FRONT-END Engineers
IndyDevDan
52 I'm DONE writing tests - using AI copilot AIDER to AUTOMATE testing.
I'm DONE writing tests - using AI copilot AIDER to AUTOMATE testing.
IndyDevDan
53 pip install YOUR-PACKAGE: Building your first python with Poetry, AIDER, and ChatGPT
pip install YOUR-PACKAGE: Building your first python with Poetry, AIDER, and ChatGPT
IndyDevDan
54 Git + AI = DIFFBRO: AI Coding the future of code reviews (python, aider, gpt-4)
Git + AI = DIFFBRO: AI Coding the future of code reviews (python, aider, gpt-4)
IndyDevDan
55 AI Devlog: Coding an AI powered, Code Review, CLI tool | Python, Aider,  ChatGPT
AI Devlog: Coding an AI powered, Code Review, CLI tool | Python, Aider, ChatGPT
IndyDevDan
56 Introducing DIFFBRO - Your AI powered PEER REVIEWS in one command
Introducing DIFFBRO - Your AI powered PEER REVIEWS in one command
IndyDevDan
57 ONE Word Prompts - 3 INSTANTLY useful Prompt Engineering Techniques
ONE Word Prompts - 3 INSTANTLY useful Prompt Engineering Techniques
IndyDevDan
58 The Javascript Ecosystem Killer: Using Bun, to Learn Bun (with AIDER)
The Javascript Ecosystem Killer: Using Bun, to Learn Bun (with AIDER)
IndyDevDan
59 "With this prompt, I learned Pytest in 12 minutes" - Learn ANYTHING with LLMs
"With this prompt, I learned Pytest in 12 minutes" - Learn ANYTHING with LLMs
IndyDevDan
60 Prompt Engineering an ENTIRE codebase: Postgres Data Analytics AI Agent
Prompt Engineering an ENTIRE codebase: Postgres Data Analytics AI Agent
IndyDevDan

The video introduces Github Copilot, an AI coding assistant, and demonstrates its capabilities in generating code for various applications. It highlights the tool's potential to help engineers work faster and improve coding productivity. By watching this video, viewers can learn how to use Github Copilot to generate code, review code, and improve coding efficiency.

Key Takeaways
  1. Write a string to a file using Github Copilot
  2. Create a list of objects with different types using Github Copilot
  3. Update the name of each item in the list to uppercase using Github Copilot
  4. Run a Python script using Github Copilot
  5. Generate an Express.js application using Github Copilot
  6. Create a list with name-key value pairs using Github Copilot
  7. Write a mutation in a store using Github Copilot
💡 Github Copilot is not meant to replace engineers but to help them work faster and improve coding productivity.

Related AI Lessons

Reading Anthropic's "When AI Builds Itself" Changed How I Think About AI and Software Engineering
Learn how Anthropic's essay on AI building itself impacts software engineering and AI development
Dev.to · Hemapriya Kanagala
When AI Writes Most of My Code: What Happens to My Identity as a Software Engineer?
Explore how AI coding tools impact your identity as a software engineer and learn to adapt to the changing landscape of software development
Medium · AI
When AI Writes Most of My Code: What Happens to My Identity as a Software Engineer?
Explore how AI coding tools impact software engineer identity and adapt to the changing landscape
Medium · Programming
How AI Is Changing Software Development (2023–2026)
Learn how AI is revolutionizing software development with automated coding tools and techniques, increasing productivity and efficiency
Medium · Machine Learning

Chapters (6)

Preview
0:25 Is Github Copilot Hype?
1:15 Python + Copilot
5:30 ExpressJs + Copilot
7:05 Timeva + Copilot
12:30 Things to look out for
Up next
Azure Security Priorities for 2026: Identity, Governance, AI Security & Zero Trust
Valto Microsoft Specialists
Watch →