I Paired Programmed with ChatGPT using Test-Driven Development

  Рет қаралды 2,227

Gui Ferreira

Gui Ferreira

Күн бұрын

I've solved a Code Kata while pair programming with ChatGPT GPT-4 on a Test-Driven Development (TDD) session.
💎 Be a Patreon to get the source code: / gsferreira
🚨 KEY LINKS
🤝 Support me on Patreon (and get access to source code) here: / gsferreira
👋 HEY FRIEND
If you're new to my Channel, my name is Guilherme, but you can call me Gui if Portuguese pronunciation is not your thing.
I see myself as a Minimalist Software Craftsman. That says a lot of what I talk about here.
So, why this KZfaq channel? To share with you to simplify your life as a Developer through knowledge, technology, and practices.
If you are into those things as I do, don't forget to subscribe for new videos.
🔗 GET IN TOUCH
LinkedIn: / gferreira
Twitter: / gsferreira
GitHub: github.com/gsferreira
Visit my blog: gsferreira.com

Пікірлер: 6
@Laggie74
@Laggie74 7 ай бұрын
This is both impressive and scary at the same time. As you said, it's starting to do things beyond what you've requested. Imaging if the military ask it to eliminate an enemy position without giving it the exact restrictions, it could kill it's handler too if it somehow sees them as an obstacle to achieving the final outcome.
@gui.ferreira
@gui.ferreira 7 ай бұрын
😬 let's keep this to line of business applications 😜
@liam7073
@liam7073 Жыл бұрын
From what I've seen it works really well so long as the focus is very narrow so unit testing should be a great fit. I didn't like that it tried to setup the other Roman numeral mappings without prompting but it is impressive that it recognised the pattern. I think the downside of using AI in code though is the risk of trading readable code in favour of optimisation.
@gui.ferreira
@gui.ferreira Жыл бұрын
100% Liam! On a small-step journey like the ones that TDD favors, it's impressive. As you say, we have to keep an eye to ensure it doesn't go sideways. I also didn't like that it set up the Roman Numerals. But, I was impressed he could understand it. However, in software development "being that smart" may not help.
@BarbarosYurttagul
@BarbarosYurttagul Жыл бұрын
Nice video, sometimes it is simple when you are on the beginning. But how about pair programming with chatgpt on an already developed giant project?
@gui.ferreira
@gui.ferreira Жыл бұрын
Honestly never tried it. The hard part is to ingest data. Besides that, I'm worried about intellectual property.
How I Would Test-Drive a .NET CRUD API (TDD)
14:46
Gui Ferreira
Рет қаралды 6 М.
Getting Started with Test-Driven Development
30:01
Gui Ferreira
Рет қаралды 1,5 М.
Heartwarming: Stranger Saves Puppy from Hot Car #shorts
00:22
Fabiosa Best Lifehacks
Рет қаралды 19 МЛН
ОДИН ДЕНЬ ИЗ ДЕТСТВА❤️ #shorts
00:59
BATEK_OFFICIAL
Рет қаралды 8 МЛН
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 158 МЛН
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 26 МЛН
DON’T TRUST ChatGPT’s CODE!
18:46
Continuous Delivery
Рет қаралды 73 М.
18 VS Code Tips to Code FASTER
17:39
Gui Ferreira
Рет қаралды 1,8 М.
Visitor - Design Patterns in 5 minutes
3:20
levonog
Рет қаралды 683
How do I Stay Organized as a Developer
15:21
Gui Ferreira
Рет қаралды 1,8 М.
Test-Driven Development // Fun TDD Introduction with JavaScript
12:55
Coupling and Cohesion to Write BETTER C# CODE
17:19
Gui Ferreira
Рет қаралды 2,5 М.
Let's build GPT: from scratch, in code, spelled out.
1:56:20
Andrej Karpathy
Рет қаралды 4,4 МЛН
Building Complex Objects in a Simple Way with C#
12:19
Gui Ferreira
Рет қаралды 6 М.
This Book Changed how I Refactor Code
11:33
Gui Ferreira
Рет қаралды 5 М.
2 hours to build this!? Is TDD in Angular really worth it?
18:32
Joshua Morony
Рет қаралды 9 М.
GamePad İle Bisiklet Yönetmek #shorts
0:26
Osman Kabadayı
Рет қаралды 603 М.
PART 52 || DIY Wireless Switch forElectronic Lights - Easy Guide!
1:01
HUBAB__OFFICIAL
Рет қаралды 24 МЛН
В России ускорили интернет в 1000 раз
0:18
Короче, новости
Рет қаралды 1,8 МЛН