I Paired Programmed with ChatGPT using Test-Driven Development

preview_player
Показать описание
I've solved a Code Kata while pair programming with ChatGPT GPT-4 on a Test-Driven Development (TDD) session.

🚨 KEY LINKS

👋 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 YouTube 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
Рекомендации по теме
Комментарии
Автор

I believe it is because the navigator did an excellent job of directing (using) chatGPT. Meaning, it is also in the user how well they know their craft. But that is indeed amazing demo of the crazy capabilities of the GPT.

aerisseon
Автор

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.

Laggie
Автор

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.

liam
Автор

Awesome video. However, this isn't actually Pair Programming. Do you know of a tool/prompt that would create the dual pair programming roles and enable switching?

LanceParkertipUTube
Автор

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?

BarbarosYurttagul
welcome to shbcf.ru