Use ChatGPT to learn to code - the right way

Sdílet
Vložit
  • čas přidán 30. 05. 2024
  • Visit brilliant.org/PythonProgrammer/ to get started for free and get 20% off your annual subscription.
    Thanks to Brilliant for sponsoring this video :-)
    ChatGPT with the GPT-4 model makes a very good coding mentor.
    Chapters
    00:00 Introduction
    00:33 You need a mentor
    01:00 Prompting ChatGPT to create a python course
    02:03 A more specific prompt on decorators
    02:40 Tic Tac Toe advice from GPT-4
    03:33 GPT-4 explaining code
    04:40 GPT-4 makes Tic Tac Toe
    05:55 Thanks Brilliant!
    Learn Data Science (affiliate)
    🎓 Data Quest - bit.ly/3yClqbZ
    Learn Python with Giles
    🎓 Exploratory Data Analysis with Python and Pandas - bit.ly/2QXMpxJ
    🎓 Complete Python Programmer Bootcamp - bit.ly/2OwUA09
    📚 My favourite python books for beginners (affiliate links)
    📗 Python Crash Course 2nd Edition amzn.to/33tATAE
    📘 Automate the Boring Stuff with Python amzn.to/3qM1DFl
    📙 Python Basics - A Practical Introduction to Python 3 amzn.to/3fHRMdb
    📕 Python Programming An Introduction to Computer Science amzn.to/33VeQCr
    📗 Invent Your Own Computer Games with Python amzn.to/3FM3H4b
    🆓 Free Python Resource
    python-programming.quantecon....
    (This is a great introduction to python)
    ⚙ My Gear
    💡 BenQ Screen Bar Desk Light - amzn.to/3tH6ysL
    🎧 Sony Noise Cancelling Headphones - amzn.to/3tLl82G
    📱 Social Media
    / gilesmcmullen
    / gilesmcmullen
    👌 SUBSCRIBE to ME!👌
    / @gilesmcmullen
    #chatgpt #learnpython #chatgptcoding
  • Věda a technologie

Komentáře • 66

  • @gilesmcmullen
    @gilesmcmullen  Před rokem +5

    Visit brilliant.org/PythonProgrammer/ to get started for free and get 20% off your annual subscription.
    Thanks to Brilliant for sponsoring this video :-)

    • @user-pv3gl1sc3h
      @user-pv3gl1sc3h Před rokem

      @gilesmcmullen, you did not answer the main question, why is learning Python programming at all today if GPT-4 programs faster and more competently?

  • @consortiumideiasconsultori2457

    I like the idea of having a mentor with infinite patience for your mistakes, and guidance out of them.

  • @krzemian
    @krzemian Před rokem +53

    One other idea: give ChatGPT some good code (or have it generate it) but ask it to comment out some of the key logic, leaving text explanation of the logic instead, so that you can fill in the blanks yourself and hence get some active recall (akin to how Benjamin Franklin learned to write so well, by cutting out words from high quality essays).

    • @davidcmpeterson
      @davidcmpeterson Před rokem +2

      That's a genius idea! Nice analogy with Ben Franklin too.

    • @SWINDISA
      @SWINDISA Před 3 měsíci

      Great idea. Whar would the prompt look like?

  • @Anduwaithe
    @Anduwaithe Před rokem +5

    Thanks for the video! I haven't done any coding since the '00s, but I got back into doing it as a hobby this past weekend because I realized that I could use Bing Chat as my coding mentor. And it was this renewed interest in Python that led me to subscribe to your channel a couple of days ago, haha.

  • @fraac
    @fraac Před rokem +8

    i've been learning python (coming from perl) by asking chatgpt to code things and then asking it to explain things i don't understand. i think this approach should scale to large projects, while i arguably never _know python_ in the conventional sense. this is probably the near future of coding, and what we consider coding will be seen as like writing in assembly language. that big an evolution, overnight

  • @ergohash2517
    @ergohash2517 Před rokem +3

    tried it today for the first time and my mind is blown. I am most impressed how you can tell it in plain language what you want to change and it will give you an updated version of the code. Rinse and repeat till you get something working. I had no practise or knowledge on how to use Html canvas and was just asking it to make me simple animations, game, etc, react to events, display a counter in the corner of the canvas that counts my clicks on the bouncing circle, etc. its really impressive and kind of depressing at the same time

    • @buak809
      @buak809 Před rokem

      How can you try it out exactly? YOu gotta pay first? Be "chosen one"?

  • @chrismcgowan5180
    @chrismcgowan5180 Před rokem +2

    Got very excited with your first video on GPT and making exams and curriculum etc.
    But for Medicine, it is quite bad

  • @amandamate9117
    @amandamate9117 Před rokem +4

    even better if you use GPT-4 together with Bings chat feature because it has access to the internet

    • @jamestakac8951
      @jamestakac8951 Před rokem

      Don't forget that bing chat is using gpt 4. Been using that as well as well as a number of the alternatives.Each has its strengths and weaknesses imho. Up to you to decide which is best for you.

  • @faridparvez
    @faridparvez Před rokem

    Gr8 info vid.
    Please make a vid on roadmap to learning python specifically for stock chart analysis , getting trade signals using chart and statistical analysis of stocks.
    I mean make a vid on course tailored cut for only stocks analysis.
    Regards
    Farid

  • @KerishaStewart
    @KerishaStewart Před rokem

    Ran the same prompt you did for the graphical tic tac toe. It gave this `Creating a full graphical Tic Tac Toe game in Python requires quite a bit of code. I'll provide you with a basic outline of how to do this using the Pygame library.`
    It gave an outline with no logic....
    Using GPT-4

  • @jamestakac8951
    @jamestakac8951 Před rokem

    Been doing this since gpt 3 for about a month. And I only found out about it during all that hype. Maybe a quick learner to start with?

  • @captainofthewhitetower

    Hey, idk if you would ever see this, but here it goes. So I finished a bootcamp and udemy course on python. I still feel highly not confident. I got accepted to an internship which I use chatgpt a lot. Literally I cleverly use it and manage to fix issues etc. How can I improve my skilss in python when there is chatgpt? Should I solve a hackerrank problem daily? I mean i dont want to be a chtgpt coder.

  • @samaeltartaro
    @samaeltartaro Před rokem

    How are you using GTP-4? I looked about paying plus and even doing that I wouldn't be able to use CHAT GPT-4.

  • @CallMeMilenko
    @CallMeMilenko Před 5 měsíci

    Another thing you can do is ask chatgpt what parameters does it require. If you don't really know how to be specific then let it ask you the specifics.

  • @bomapdich
    @bomapdich Před 11 měsíci

    the only problem I had is when we start a new chat, it doesn't retain the information from the previous chats. And I don't want an infinite long script of information that can be pretty hard to navigate. Anybody has some suggestion for this issue

  • @bradhenry9395
    @bradhenry9395 Před rokem

    Hi Giles, being a huge fan of Tkinter, could you please make a video focusing on ChatGPT and python GUIs. I have tried a few prompts and would love to see you insights.

    • @jamestakac8951
      @jamestakac8951 Před rokem +1

      There's no reason you can't apply what's shown in this video and substitute tkinter to make gui programs. It's much the same but you change the subject/prompt to reflect what you want

    • @bradhenry9395
      @bradhenry9395 Před rokem

      @@jamestakac8951 Yeah the tkinter is going well with some tweaking in what i ask for, getting some good responses. Looking forward to trying GPT4 as GPT3 seems to be running out of characters before my code is complete.

  • @techtalk6365
    @techtalk6365 Před 11 měsíci

    man you are really cool always like your video and pure british accent , love from Bangladesh

  • @KristofferEngstrom
    @KristofferEngstrom Před rokem

    "It can solve the fine structure constant, and that was pretty good" 😆

  • @daverei1211
    @daverei1211 Před rokem

    I’ve found ChatGPT 3.5 not as good writing code as GPT 4

  • @2ru2pacFan
    @2ru2pacFan Před rokem +2

    Is there any point learning to code now if it does it all for us? 🤔

    • @Howard2k79
      @Howard2k79 Před rokem +7

      It doesn’t. It can do simple things. It helps with that and I use it every day. But to create complex software which does exactly what you want it to do, it would require a enormous amount of input for it to create something even remotely close to what you want it to be.
      As I see and use it, is using my own knowledge to break down complex programs and algorithms to a point which is easily communicateable (is that a word?) to ChatGPT. Using the resulting output in my program painting the big picture. And that’s it’s strength. It doesn’t make us programmers useless, it makes us orchestrate it and putting the software together as needed and as we please.
      ChatGPT doesn’t replace you, it makes you better and faster programmer.

    • @HessSR
      @HessSR Před rokem +1

      I guess it’s good to learn so you can understand the code it gives you and test it and see if it works properly

    • @juanmacias5922
      @juanmacias5922 Před rokem +2

      A different you-tuber talked about how it might make some Junior Developers obsolete at first, while Seniors have these chat bots create boiler plate code. I feel that until it is actually artificial intelligence, there will still need to be someone baby sitting the code, not to mention startups, I don't foresee many of them not hiring developers.

    • @jamestakac8951
      @jamestakac8951 Před rokem

      @@Howard2k79 It's also good at creating boilerplate code. But keep in mind that it makes mistakes. I'd highly advise having a reasonable grasp of the programming language(s) you wish to ask it to help you with before using it for that purpose. Why? Cuz when it gives you incorrect code (and it does here and there), you won't know what to do with it or how to get gpt to fix it

    • @jamestakac8951
      @jamestakac8951 Před rokem +1

      @@juanmacias5922 Very astute observation imho

  • @TRUELiGHTERS
    @TRUELiGHTERS Před rokem +1

    my version of chatGPT is not GPT 4 , how to make it version 4

    • @proxy1374
      @proxy1374 Před 8 měsíci

      Buy the version 4 subscription

  • @InimitaPaul
    @InimitaPaul Před rokem +2

    Judging by what I’ve been reading the only jobs for the very few coders that will remain employed within the next ten years is to check code rather than write it and it will be a very monotonous task. If you enjoy it or want to hack then fair enough.

    • @markgreen2170
      @markgreen2170 Před rokem +1

      @@innocentiuslacrim2290 yes, remember the 'paperless office' lol, I think more paper was consumed with computers than ever with typewriters! And there are still billions of lines of cobol in play, I suspect we may see a 'boom' in coding projects...

  • @taeyangbigbang
    @taeyangbigbang Před rokem

    HOW TO ACCESS GPT4? DO YOU NEED TO UPGRADE?

  • @Gutenmorgenside
    @Gutenmorgenside Před rokem

    It's noughts and crosses ! Tic tac toe indeed 😀

  • @pointcodding
    @pointcodding Před rokem +4

    Bro first comment 👍👍

  • @volodyslove
    @volodyslove Před rokem

    What do you think about our future? Will AI replace us as programmers?😢

  • @jetsethero7978
    @jetsethero7978 Před rokem

    Id pay money to hear and watch this dude scream "FUCK" as loud as he can! 😂😂😙😙

  • @oan9402
    @oan9402 Před rokem

    Lol, teachers mad sweating rn

  • @jwoods9659
    @jwoods9659 Před 8 měsíci

    Its good a tool, your not going to know what to type for eveything. So use it to guide you making small project. Your learning concepts that way, it is only a tool to save you time. Talk to it like a person.

  • @justkaz16
    @justkaz16 Před rokem

    441

  • @ilkelfonksiyon
    @ilkelfonksiyon Před rokem

    Bruh it has 25 cap for 3 hours and you r recording a video like that. Are you good?

  • @SomeKidFromBritain
    @SomeKidFromBritain Před rokem +1

    Weak

  • @ashishsinvh6235
    @ashishsinvh6235 Před rokem

    Please make video on review Fluent Python

  • @itzhexen0
    @itzhexen0 Před rokem

    People are just going to realize they can do all of this themselves even if they didn't know how to before and decide they don't need you even if it takes some effort.

  • @StupidInternetPeople
    @StupidInternetPeople Před rokem

    Stupid out of context thumbnail faces are unnecessary 😢

  • @ashishsinvh6235
    @ashishsinvh6235 Před rokem

    Please make video on review Fluent Python

  • @ashishsinvh6235
    @ashishsinvh6235 Před rokem

    Please make video on review Fluent Python

  • @ashishsinvh6235
    @ashishsinvh6235 Před rokem

    Please make video on review Fluent Python

  • @ashishsinvh6235
    @ashishsinvh6235 Před rokem

    Please make video on review Fluent Python

  • @ashishsinvh6235
    @ashishsinvh6235 Před rokem

    Please make video on review Fluent Python

  • @ashishsinvh6235
    @ashishsinvh6235 Před rokem

    Please make video on review Fluent Python

    • @jamestakac8951
      @jamestakac8951 Před rokem

      You can use the exact same ideas presented in the video for that purpose

  • @ashishsinvh6235
    @ashishsinvh6235 Před rokem

    Please make video on review Fluent Python