How to Use ChatGPT to Write 10X Code - My Workflow (Tutorial)

preview_player
Показать описание
In this video, I walk you through how to use ChatGPT to code. ChatGPT has allowed me to write 10x the code in the same amount of time. I'll show you my workflow, how I structure prompts to get the code I want, how I debug, and how I refactor. We walk through an example of building a ChatGPT locally using the ChatGPT API. With ChatGPT, even beginners can write amazing code and in any language.

Enjoy :)

Join My Newsletter for Regular AI Updates 👇🏼

Need AI Consulting? ✅

Rent a GPU (MassedCompute) 🚀
USE CODE "MatthewBerman" for 50% discount

My Links 🔗

Media/Sponsorship Inquiries 📈

Content of Video:
0:00 - Intro
1:25 - Overview
2:57 - Planning
4:30 - Creating the Skeleton
7:19 - Filling out the Code
8:25 - Refactoring
11:05 - Testing
13:18 - Debugging
15:32 - Adding Features
19:27 - Other Things to Know
20:14 - Outro

My Workstation Setup:
Рекомендации по теме
Комментарии
Автор

"You're gonna have to change your mindset from being a builder, to being a conductor." Well said! That's true of everything moving forward. Knowing the theory and strategy because AI can help you with the tactics and execution.

jeremybristol
Автор

I created my first app with basic programming knowledge before watching your video. I agree with you. Welcome to the era of guided programming and soon the era of autonomous programming

antiquesordo
Автор

This is pure gold! I would love to see other examples of coding workflows! Meanwhile I will probably try to create some audio plugins using GPT4, what a time to be alive!!

klaustrussel
Автор

Thanks :) I'm usually slow at learning and spent my life tinkering with programming on and off. This is like right up my alley lol

hourglass
Автор

this is great, can never be too clear or simple. seeing the dev process is also valuable.

tradingwithwill
Автор

Thank you! Having been a contract programmmer way back when(over 15 years ago) This is so much of what I have been looking for as I have ideas of what I want to build.

philq
Автор

I have been following you for a while now. Your content is so underrated.

jaytamati
Автор

Excellent, the best video I've seen for a while. Very useful, cheers !

Gutenmorgenside
Автор

Great video Matthew! Your first point is EXACTLY it. Use the tool, or get left behind.

I've arrived at a similar workflow for my projects, though I personally prefer to develop in Javascript.

MachineMinds_AI
Автор

Finally someone who is honest about chat gpt's limits. Other clickbait youtubers out here pretending like it can build a whole project from scratch and replace programmers, when in reality it is mostly good at doing bits and pieces.

Essentially a more efficient and less douchey stackoverflow. I really don't believe it will have full content of actual production codebases with millions of lines of code for a while, nor will copilot x. Current hardware just hasn't caught up and even gpt 4 is struggling with this. Even microsoft told open ai to calm down because they were pushing azure to it's limits with gpt 4. That's why most people with pro accounts(apart from youtubers) are still on the 25 message per 3 hr limit and don't even have the gpt4 pay as you go api access yet.

ibendover
Автор

Thanks Matt. I am new to coding so this is absolutely incredible content. I am not too concerned about learning too much because I am acutely aware that within a year likely you will be able to type in english and get the corresponding code already debugged. However in the interim your content is amazing. Thank you.

marcsmarketforecasts
Автор

Thank you for your videos, I really enjoy them and have learned quite a lot

tbaerg
Автор

ChatGPT can even learn new languages. I taught it a few of the rules of a programming language I have designed and it was able to predict the results of running code in it and even output some of its own coded.

eiyukabe
Автор

GPT 4 is pretty good at reading and commenting code. I think if you could feed it a large enough open source database of scripts, it could produce well-documented code that would be suitable for training an LLM on how to read python.

AncientSlugThrower
Автор

Being a senior and having the time, I spend the last 8 month learning C and are feeling competent at a medium level. Now I' learning with ChatGPT and have a feeling of cheating, because I'm learning so much faster.

I tried to have ChatGPT to give some code that could raycast. When I tried the faulty code from ChatGPT, I explained ChatGPT the error messages, ChatGPT asked me to give ChatGPT the missing part from the code, ChatGPT made...

But I save lot of time using ChatGPT instead of using seach engines and reading in C documentation.

grimvian
Автор

I’ve been interacting with ChatGPT, Bard, and Microsoft Bing chat over the past 6 weeks. I can’t even being to explain the massive amount of information & high level technical information I’ve gone over with these AI systems. I don’t know what I’m going to do next, but I would explain it like this. Research studies that involve dozens of pages of Engineering equations, you can go through 30 days of work in about 8 hours. This is a remarkable dynamic because it keeps you focused through the entire new explorations into far reaching formulas to prove theories. I believe I may be onto an equation that you would need in order to prove over unity, and I don’t believe I’ve seen such a math formula in any text. If you are going to say that there is no such thing as over unity, provide the equation to prove it. I, on the other hand, with ChatGPT, am writing the formula to prove that you can achieve over unity. I don’t have it all organized, there are dozens of pages of math equations, but to have gotten as far as I have in an 8 hour period is remarkable. There have been other days when I explored Astrophysics, psychology/psychiatry theories. Asked dozens of questions about the paper “All You Need is Attention” and had various parts expanded upon. I would love to see a 3D model of the LLM, with all its layers with the 22.5 x 22.5 (length x width) of each layer. Conclusion: these were some of the most intellectually productive interactions I’ve ever had with intelligence other than my own.

TimKaseyMythHealer
Автор

I'm so ready to go beast mode as a code conductor with github copilot x.

christopherchilton-smith
Автор

The problem is that for more complex projects it gets to a point where it actually "gets confused" and starts creating problems in the code that didn't exist before.

mickyoroz
Автор

This was great. I had no idea you could open the terminal in VS Code using that little icon! Or that you could swithc python versions mid way through your code ! New to coding but already seing the amazing things GPT can do. Changing the mindset - Conducotor rather than builder - I feel this statement is spot on. Going forward, it will be interesting to see if coding courses change their approach to accomodate AI workflows.

danquixote
Автор

Unfortunately I do not have a paid version of GPT-4 yet but I am serious about the new technology, I am following along and working to get this work

shodwana