Masterclass: AI-driven Development for Programmers

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 เม.ย. 2023
  • AI tools like ChatGPT and GPT-4 are changing the way programmers write code. Learn how build a React app with Typescript using with AI prompting and other tricks to speed up development.
    #ai #programming #tutorial
    💬 Chat with Me on Discord
    / discord
    🔗 Resources
    - ChatGPT chat.openai.com/
    - React Docs react.dev/
    - Automated workflow tweet / 1642948620604538880
    - Copilot X • Game over… GitHub Copi...
    🔥 Get More Content - Upgrade to PRO
    Upgrade at fireship.io/pro
    Use code YT25 for 25% off PRO access
    🎨 My Editor Settings
    - Atom One Dark
    - vscode-icons
    - Fira Code Font
    🔖 Topics Covered
    - Building apps with AI
    - AI pseudocode techniques
    - Can ChatGPT build complete apps?
    - GitHub Copilot X features
    - Will AI replace programmers?
    - TypeScript Tricks with ChatGPT
    - How to use AI to code faster
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 1.7K

  • @MrJonathandsouza
    @MrJonathandsouza ปีที่แล้ว +7319

    That Crlt +v thing, Absolute game changer.

    • @Marcus001
      @Marcus001 ปีที่แล้ว +281

      Ctrl + V has changed my life forever, im pissing and crying rn

    • @mitchellmnr
      @mitchellmnr ปีที่แล้ว +113

      .... Ctrl + c will copy, Ctrl + x will cut .... and if you setup your shortcuts in vscode ... Ctrl +d can duplicate a line ;) oh ... Ctrl + shift + v will past unformatted

    • @IvanRandomDude
      @IvanRandomDude ปีที่แล้ว +169

      Some people even call it "engineering"

    • @jaysonp9426
      @jaysonp9426 ปีที่แล้ว +245

      Ctrl + v is too low level for me. I had my AI write a pseudocode language so now when I want to paste I just type: "I'd like to paste please"

    • @renanbrenolj
      @renanbrenolj ปีที่แล้ว +35

      That Crlt +v thing, Absolute game changer.
      Wow! That really worked!!

  • @Djolewatchtastife
    @Djolewatchtastife ปีที่แล้ว +3055

    Using pseudocode as an intermediate language to facilitate prompt creation is an awesome use case.

    • @Matt-jv4oj
      @Matt-jv4oj ปีที่แล้ว +31

      PseudoEditor already implemented an AI pseudocode to code generator

    • @MrSurfsAlot
      @MrSurfsAlot ปีที่แล้ว +23

      @@Matt-jv4oj same I did last night it's so funny how we are all cresting the same things at the same time. I had the idea to do it a couple months ago but I just didn't believe it could be done until I saw that myself with the auto GPT thing

    • @guillermomazzari4983
      @guillermomazzari4983 ปีที่แล้ว +3

      that is next lvl game changer

    • @karmatraining
      @karmatraining ปีที่แล้ว +54

      There's an old quote: "What's the best programming language? Writing a note for your junior developer."

    • @prestonrasmussen1758
      @prestonrasmussen1758 ปีที่แล้ว +14

      That’s kind of what high level programming languages were to assembly, and what assembly was to binary

  • @Nekoeye
    @Nekoeye ปีที่แล้ว +305

    Remember to use CTRL+C for copying. That will make you 15x developer.

    • @yodasoja2011
      @yodasoja2011 10 หลายเดือนก่อน +2

      Or click the freaking "copy code" button! No highlighting necessary!

    • @LabGecko
      @LabGecko 9 หลายเดือนก่อน +5

      @@yodasoja2011 Takes too long to slide the mouse over there. A triple click for a line or CTRL+A for copy all is faster.

    • @archvaldor
      @archvaldor 8 หลายเดือนก่อน +1

      @@yodasoja2011 "Or click the freaking "copy code" button! No highlighting necessary!" I am glad that this is an issue for other people. I was beginning to wonder if I was just a moron.

    • @EricChiEric
      @EricChiEric 8 หลายเดือนก่อน

      @@LabGeckobut ctrl+a copies everything on the website

    • @LabGecko
      @LabGecko 8 หลายเดือนก่อน

      @@EricChiEricIt does, but also grabs everything from button text to page upload dates, etc. I've started just asking ChatGPT to scrape them for me... XD

  • @jonas8708
    @jonas8708 ปีที่แล้ว +546

    I'm impressed by what GPT 3.5 and 4 can do. And the initial effect is super dazzling, but I always feel like I'm talking to a data set, not a problem solver. Like it can alleviate menial tasks, but a lot of the cracks start to show as soon as you assume too much about its ability to solve problems that require more than one level of abstraction

    • @pvanukoff
      @pvanukoff ปีที่แล้ว +22

      GPT 5 is going to blow 4 out of the water.

    • @jonas8708
      @jonas8708 ปีที่แล้ว +102

      @@pvanukoff Maybe. I'll reserve judgement on GPT 5 until I see it in action

    • @petiks6391
      @petiks6391 ปีที่แล้ว +5

      It relies on your prompts as well

    • @hamm8934
      @hamm8934 ปีที่แล้ว +49

      @@pvanukoff pretty sure we’re approaching an asymptote. 3.5 -> 4 is the same model but with slightly different hyper parameters and throwing more hardware at the problem. While 5 looming and not much is known about it, I doubt it will be all that fundamentally different.

    • @deepeshmathuria
      @deepeshmathuria ปีที่แล้ว +19

      ​@@hamm8934 I'm of the same opinion, LLM's are a search/discovery centric technology not necessarily problem solving and I don't see these out of the box developing architecturally complex stuff.

  • @bdiddy77777
    @bdiddy77777 ปีที่แล้ว +2673

    As an experienced humanoid code developer, the use of Ctrl+V is a very helpful tip! I am glad to be subscribed to your TH-cam channel!

    • @jawadhussainkalwar6758
      @jawadhussainkalwar6758 ปีที่แล้ว +34

      As a fellow humanoid I wanted to like your comment but didn't want to ruin 69 likes

    • @peppigue
      @peppigue ปีที่แล้ว +21

      win + v ftw

    • @aldeen9190
      @aldeen9190 ปีที่แล้ว +6

      You're welcome! If you have any questions or need any assistance, please don't hesitate to ask.

    • @thenewdesign
      @thenewdesign ปีที่แล้ว +12

      @@peppigue Holy sh. Clipboard history in Windows? !??! I had no idea this existed thank you so much

    • @VadimBolshakov
      @VadimBolshakov ปีที่แล้ว

      what? how that even possible?

  • @ChadSigma111
    @ChadSigma111 ปีที่แล้ว +1116

    Remember, using Alt+Tab is faster than switching to your mouse.

    • @fulconandroadcone9488
      @fulconandroadcone9488 ปีที่แล้ว +15

      Neo Vi Improved

    • @BEN-ys6gu
      @BEN-ys6gu ปีที่แล้ว +36

      cod reference

    • @goldeneagle8259
      @goldeneagle8259 ปีที่แล้ว +1

      I have LWin mapped to Alt-Tab - it's even faster. Also Scroll Right on the mouse does
      Alt-Tab with my Autohotkey script

    • @subhashj3820
      @subhashj3820 ปีที่แล้ว +2

      3 finger swipe also

    • @mahann.s
      @mahann.s ปีที่แล้ว +7

      Nah, I prefer doing everything with the mouse.
      Typing with the mouse on a glide keyboard on my Android phone.
      Phones have the best IDEs.
      Joma Tech did a video where he tried to code a full app on his phone.

  • @GRIMxJOKE
    @GRIMxJOKE ปีที่แล้ว +7

    Your videos are amazing. It teaches so much stuff in a short amount of time and you are using the perfect amount of Humor and meme to not make it too heavy nor boring.
    Congrats on the 2M Subs, you're a 10x TH-camr.

  • @ssupersuhh2385
    @ssupersuhh2385 ปีที่แล้ว +21

    I was literally just thinking about how I can structure ChatGPT prompts to teach myself new languages. However, your method of turning it into pseudocode is brilliant! I'd buy your AI Course in a heartbeat.

  • @imranq9241
    @imranq9241 ปีที่แล้ว +355

    Using a higher level pseudocode for AI consistency is brilliant. Definitely using that for my projects

    • @peristiloperis7789
      @peristiloperis7789 ปีที่แล้ว +19

      We only need to remember that completion is what gpt does best. With that in mind, we can unleash all its power and come up with great ideas.

  • @snakefinn
    @snakefinn ปีที่แล้ว +960

    This is amazing and overwhelming as a beginner web developer

    • @sir_no_name1478
      @sir_no_name1478 ปีที่แล้ว +54

      As intermediate Java and Python developer, I also really try to avoid javascript and php. So do not worry, at some point anybody wants to cry because of arrow operators, 200 word long lines and async await.
      At some point you accept it.

    • @JosefPiano
      @JosefPiano ปีที่แล้ว

      @@sir_no_name1478PHP IS AMAZING

    • @aydenfleming4377
      @aydenfleming4377 ปีที่แล้ว +2

      @@JosefPiano no it sucks django betterr frfr

    • @sir_no_name1478
      @sir_no_name1478 ปีที่แล้ว +10

      @@aydenfleming4377 I do not see the comment of the person you have referenced. Is youtube censoring it or something?

    • @IvanRandomDude
      @IvanRandomDude ปีที่แล้ว +35

      @@sir_no_name1478 He was embarrassed by his own comment and deleted it. He wrote "PHP IS AMAZING"

  • @vinception777
    @vinception777 ปีที่แล้ว

    I've been following your channel for a while now, and that ctrl + v tip just blew my mind, thank you so much for your great work!

  • @mikehunt6234
    @mikehunt6234 ปีที่แล้ว +12

    What he said about complexity and efficiency is very true, the more I use chat GPT for basic code debugging i've learned not to overleverage it, for example if im having trouble with tree structures in C++ I know confidently chat GPT can help me organize it, however if I were to give it a larger scope of my program it starts to hallucinate on me.

  • @averagetrailertrash
    @averagetrailertrash ปีที่แล้ว +315

    The word you're looking for is data-driven (not data-oriented) development, also called config-driven development in some industries. We use this in gamedev a fair bit, like for building procedural elements and menus or storing sequences of user actions. Some engines are wholly based on it.
    You store information in an easily parsed format like yaml, json, csv, etc. and let that information control the behavior or visual appearance of your program (or a part of it). The actual code is just a parser that implements it, and you could have multiple versions of this for different languages or build environments etc.

    • @averagetrailertrash
      @averagetrailertrash ปีที่แล้ว +28

      Protip: If you store your interfaces as JSON Schema docs, you can get intellisense in your json/yaml implementations for debugging.

    • @TheOnlyGhxst
      @TheOnlyGhxst ปีที่แล้ว +4

      Data-driven and data-oriented fundamentally mean the exact same thing.

    • @nikilragav
      @nikilragav ปีที่แล้ว +1

      That's pretty cool

    • @averagetrailertrash
      @averagetrailertrash ปีที่แล้ว +33

      Ghost, not quite. Data-oriented programming is when you design the code in a way that is highly cpu-efficient, where all related data is stored together at runtime in plain arrays etc.
      Data-driven development says nothing about the runtime data structure or efficiency of the code, just that you initially describe it in a plaintext format and later convert it to an application / feature (not necessarily at runtime, though it can be).
      That conversion can be done in a way that creates highly cpu-efficient code if you choose to implement those features in your design and parser.
      But you can also generate more typical oop-structures with it or store data in inefficient ways etc.

    • @averagetrailertrash
      @averagetrailertrash ปีที่แล้ว +5

      (By related data, I mean data that is frequently accessed together, not necessarily data that belongs to the same object.)

  • @Trazynn
    @Trazynn ปีที่แล้ว +113

    I found that it helps if you let ChatGPT first explain concepts about code (relevant to your problem) and then ask it to either create or explain code.

    • @jasperreichardt
      @jasperreichardt ปีที่แล้ว +6

      GPT4 has up to 32k tokens of context, so technically you can just copy paste it let say 5 of your classes and ask it to create the 6th (damn complex) missing one :D

  • @Xenc5
    @Xenc5 ปีที่แล้ว +16

    Wow, this masterclass on AI-driven development for programmers by Fireship is simply amazing! The instructor's expertise in the field is truly impressive, and the way they break down complex concepts into simple, easy-to-understand terms is remarkable. The examples used in the video are practical and relevant, and I feel like I've gained a whole new perspective on AI development after watching this. Thank you, Fireship, for this incredible tutorial - I can't wait to implement these concepts in my own work!
    (Thanks for the video!)

    • @jomalomal
      @jomalomal ปีที่แล้ว +26

      ChatGPT has entered the chat

  • @JohnVance
    @JohnVance ปีที่แล้ว +2

    This is quickly becoming my favorite channel on TH-cam.

  • @AngeloXification
    @AngeloXification ปีที่แล้ว +116

    I write prompts and slowly build the functions I need since the output is kinda limited in characters but once you can do that it programs great.

    • @walterlotte4215
      @walterlotte4215 ปีที่แล้ว +4

      Same

    • @MelonEsuk
      @MelonEsuk ปีที่แล้ว +1

      ​@@walterlotte4215 Me too require multiple times typing questions but ot will correct and give finally what we need, Now i can focus on actual business logic and architecture part than mundane coding

    • @lordfrz9339
      @lordfrz9339 ปีที่แล้ว +3

      if it ends up outputing too much, you can say "continue from where you left off at (the last thing it typed)" and it will finish it. But yea, just having it do one function is the way to go, and starting a new convo when you do somthin new so its not trying to look at old work. Sometiems ill start with an example of the format I want and thatw orks pretty good.

    • @tjs200
      @tjs200 ปีที่แล้ว +4

      @@lordfrz9339 you can just say "continue"

    • @lordfrz9339
      @lordfrz9339 ปีที่แล้ว

      @@tjs200 usualy that works, but sometimes it repeats too much.

  • @WillHuizenga
    @WillHuizenga ปีที่แล้ว +275

    Maybe this is fixed in 4, but you forgot to add the part where the code doesn't work so you ask it to fix it in 5 different ways. Then ask it to write tests for it, tell it the codes fails its own tests, and then it still doesn't put out a solution that your senior devs will approve of during review. They will then come up with a much more elegant solution in 5 minutes, and you'll feel bad you wasted an hour talking to chatgpt.

    • @Nick-id1yk
      @Nick-id1yk ปีที่แล้ว +28

      That is true right now. But who knoes how much better it will get.

    • @koxwobi6431
      @koxwobi6431 ปีที่แล้ว

      You are right! I have been using this chatgpt for my daily coding work! I can’t understand the hype. This garbage hasn’t able to write a freaking regexp for me. Try to ask to write a freaking pattent to you to parse different kind of paths. It cant! It cant even add numbers correctly! This is the scam of the XXI. century!

    • @Mogwai88
      @Mogwai88 ปีที่แล้ว +70

      No it is not fixed in 4, absolutely maddening, I see all these influencers showing it working perfectly when I'm getting unusable garbage multiple times per session

    • @yashwardhansable5187
      @yashwardhansable5187 ปีที่แล้ว +4

      Use reflexion loop

    • @Frilockfps
      @Frilockfps ปีที่แล้ว +17

      @@Mogwai88 editing is a thing my friend

  • @concernedcanadian
    @concernedcanadian ปีที่แล้ว +2

    I totally agree. I am thinking of AI as a partner or Virtual Assistant / tutor. This also applies to writing. It still needs a human touch to guide the project but saves so much time. I built a fairly complex bash script for a client by feeding it pseudo code and asking for revisions. I tested and revised just like I was working with another programmer over the internet. My clients are happy. Thanks for sharing.

  • @blimolhm2790
    @blimolhm2790 ปีที่แล้ว

    dude i just jumped right into nextjs with gpt4 and started smashing it. learning while the project i want is being built.. incredible

  • @violet_broregarde
    @violet_broregarde ปีที่แล้ว +6

    Wow, ctrl+v is a game changer! Truly the biggest time saver here

  • @savejeff15
    @savejeff15 ปีที่แล้ว +226

    I love that fireship is embracing the future and not fear it. Great work

    • @desther
      @desther ปีที่แล้ว +27

      Any solid software developer should.

    • @savejeff15
      @savejeff15 ปีที่แล้ว +3

      @@desther true. but he makes content on teaching programing, which is basically being replaced by chatgpt and co

    • @LuisSierra42
      @LuisSierra42 ปีที่แล้ว +23

      He's embracing it because he's already an AI

    • @mesiroy1234
      @mesiroy1234 ปีที่แล้ว +2

      I personally think change GTP is not smart not even second grade smart it's just have anything from the internet and making blender like it has all the pictures on the internet so it's just altering them to fit your points it doesn't have the capability to make new pictures

    • @VadimBolshakov
      @VadimBolshakov ปีที่แล้ว +3

      @@LuisSierra42 Your levity is good. It relieves the tension and fear of death

  • @kwolf1127
    @kwolf1127 ปีที่แล้ว +13

    I'm currently trying to become a self-taught developer, and chat-gpt has quickly become the best learning tool I have at my disposal.

  • @frankiev1785
    @frankiev1785 9 หลายเดือนก่อน

    This is by far my favorite video of yours. A+.

  • @ElyseGiroux
    @ElyseGiroux ปีที่แล้ว +21

    I literally just did this yesterday night to code an entire Shopify admin api product imports from a supplier. Worked like a charm

    • @Mpanagiotopoulos
      @Mpanagiotopoulos ปีที่แล้ว +2

      I literally did the same with almost zero knowledge in Python and Rest APIs.besides fetching and posting product data the script changes the product format to my liking, dynamically change prices, runs an inventory script every 24 hours so that inventory gets updated automatically and many more. I mean I am not a web dev and I wrote successfully a 300 lines python script. That's nuts

  • @venkat2002
    @venkat2002 ปีที่แล้ว +4

    Beautiful video as usual. The Aha moment I got with react was when I realised it does reverse of what a typical html web page does, in react you write JavaScript and spew out html which is reverse of old gen traditional html page which is html and has JavaScript embedded in it.

  • @randymartin9040
    @randymartin9040 หลายเดือนก่อน +1

    What an incredible channel to find for me, thank you so much. I can tell this going to be a massively useful video for me in the future, thank you.

  • @HotRatsAndTheStooges
    @HotRatsAndTheStooges ปีที่แล้ว

    I've been programming in react for the last 15 years, and I NEVER knew about that ctrl+v trick. Incredible, this is why I suscribe

  • @trinsic6652
    @trinsic6652 ปีที่แล้ว +4

    Love your videos! Love the jokes! Very quick and informative!

  • @Coolskhan
    @Coolskhan ปีที่แล้ว +3

    I use this a lot, and let me tell you. I keep coming back to TH-cam videos. What I can agree is, I use bing a lot more now ;)

  • @Najibbom
    @Najibbom ปีที่แล้ว

    That tip about the CTRL+V helped me a lot ! Thanks man, i'm already ahead of competition!

  • @AlexBlack-xz8hp
    @AlexBlack-xz8hp ปีที่แล้ว

    Your psudo code idea blew my mind. Such a good idea.

  • @ruinenlust_
    @ruinenlust_ ปีที่แล้ว +12

    I've just started out as a developer and I've already kind of accepted that I will have to look for a new career in a couple years

    • @Imscottirl
      @Imscottirl ปีที่แล้ว +5

      Don’t think like that. This is a productivity boost, that is all. We’ve had this type of thing happen a few times to us. I’ve seen a few in my 23 year career. GPT is a very big deal, and something to lean waaay the fuck into, not be scared of. You’re ahead of everyone!

    • @meltygear5955
      @meltygear5955 ปีที่แล้ว +5

      @@Imscottirl If 1 dev can do the output of 3 devs in an easier way the other 2 devs are left flipping burgers. Blows my mind that I have to explain something so basic.

    • @Imscottirl
      @Imscottirl ปีที่แล้ว +2

      @@meltygear5955 you make it sound simple. Truth is: there’s faaaaaaar more work to be done than there are devs to do it- even with the layoffs.

  • @towards_agi
    @towards_agi ปีที่แล้ว +22

    The pseudo code tip is just mind blowing

  • @kebman
    @kebman ปีที่แล้ว

    Your videos are so compact and on point that I have to slow them down to 1.5x when I watch them!

  • @MyCodingDiarie
    @MyCodingDiarie ปีที่แล้ว

    I just found your channel and I'm already a fan, subscribed!

  • @SpencerYonce
    @SpencerYonce ปีที่แล้ว +12

    Been doing this since it came out, it’s insanely awesome. But for you beginners out there, go learn your basics before trying to fully use Ai to develop. You will find yourself more confused when it doesn’t run if you don’t have those basics down yet.

    • @serhiiderkach8126
      @serhiiderkach8126 11 หลายเดือนก่อน +1

      Is all this still worth learning for beginners ? I've been learning React for the last 3 month but recently feel like it's just a waste of time with all that AI thing developing.

  • @andrewrbrady
    @andrewrbrady ปีที่แล้ว +3

    There are a handful of video focused problems I've implemented in C++ using Chat GPT over the past few weeks, and I am most definitely not a C++ developer. Still feels surreal every time I compile and successfully test a program.

  • @cosmicmule1
    @cosmicmule1 ปีที่แล้ว

    That is exactly what i am using GPT. Currently used it to install and build a react/tailwind. The tailwind install failed that was given to me from GPT. But was nice to ask questions on X thing and was a nice addition to learning a new framework.

  • @jand2861
    @jand2861 ปีที่แล้ว

    I appreciate the more optimistic style of the recent videos :)

  • @king-manu2758
    @king-manu2758 ปีที่แล้ว +72

    It's wild how I decided to become a developer in 2020 and only 3 years later now I have a job but the whole industry has been transformed so much by AI. Just when I thought I knew where I stood, now I'm completely perplexed about the future.

    • @coins_png
      @coins_png ปีที่แล้ว +12

      you're not alone

    • @maciejlaskowski4087
      @maciejlaskowski4087 ปีที่แล้ว +40

      Don't worry, man. This only looks good on YT videos. If you are worried, just think of some big project you always wanted to make but you never had time, and try to do it with AI. I mean, if this gives you 10x, you should make it real fast, right? No. It can't really do that much programming. I tried to use it to write me some Rust code, and in many cases, the code it spits out won't even compile (I'm talking GPT-4 here). Not to mention, it can make up non-existing functions in libraries. Basically, it likes to make up a lot of stuff like not working logic which only looks like reasonable code, but it doesn't work as it should. On first interaction, I was amazed how good GPT-4 is, but the more I used it, the more I realized it's not that smart. Now, of course, this will get better and better with time, but the question is, can it really create complex projects on its own? I hear about self-driving cars for years, but somehow we are still not there yet. There is also a hardware limitation on how much context you can have at once. If AI will be able to do programming on its own without making too many bugs, then it will be able to do any other intellectual work. No need for lawyers, doctors, accountants, architects, and so on. If that happens, we will either see the world collapse or the economy will be completely redefined.
      TL;DR
      We are still far away from AI replacing people, and when it happens, everybody who does their work with their brains, not with their muscles, will be f***ed.

    • @passionatebeast24
      @passionatebeast24 ปีที่แล้ว +1

      ​@@maciejlaskowski4087yes. You are right. I think true agi is atleast 200 years away.

    • @giddeo
      @giddeo ปีที่แล้ว +4

      @@passionatebeast24 Not to rain on your parade but I have read that they expect to cross the threshold before 2050, make of that what you will

    • @king-manu2758
      @king-manu2758 ปีที่แล้ว +5

      @@maciejlaskowski4087 Well even those who work with their muscles will be fucked by the AI powered robots.

  • @AnsisPlepis
    @AnsisPlepis ปีที่แล้ว +8

    thanks for the Ctrl + V tip!

  • @djordjestamenkovic3609
    @djordjestamenkovic3609 ปีที่แล้ว

    Great to be a part of this moment in history, ay!

  • @AnwarulIslamYT
    @AnwarulIslamYT ปีที่แล้ว

    After this tutorial magic happened. Now I can paste anything blazingly fast. Thanks, Jeff.

  • @Hypeex
    @Hypeex ปีที่แล้ว +5

    Thanks for the ctrl+v tip. I tested it and it works! 👏

    • @k_p_-nq3up
      @k_p_-nq3up ปีที่แล้ว

      Yeah ,this is damn good shrtcut.

  • @GoldDounuts
    @GoldDounuts ปีที่แล้ว +10

    An "init.prompt" that contains the pseudo definitions and a series of "define_piece.prompt" seems like reasonable basis for this sort of workflow, with a "main.prompt" containing the recipe/order of operations to produce the desired product in whatever language/languages are defined in the stack in the main.prompt. I look forward to seeing your first live example =D.

    • @User36282
      @User36282 ปีที่แล้ว +3

      Just FYI instead of ‘language/languages’ you can just say ‘language(s)’ to save time :D

  • @callmevoid9407
    @callmevoid9407 10 หลายเดือนก่อน

    Programming is not just writing a code, thank you for confirming it at the end of your video.

  • @andresshamis4348
    @andresshamis4348 ปีที่แล้ว

    Bruh im so glad I found this channel Im learning so much

  • @BigOz
    @BigOz ปีที่แล้ว +3

    I've never coded a line of code... But i love your channel ! Dankeschön for the great content ♥️

  • @benfrese3573
    @benfrese3573 ปีที่แล้ว

    my productivity as a proompt-engineer is through the roof since I know about ctrl+v - this is huge!

  • @larssamsung3033
    @larssamsung3033 ปีที่แล้ว

    This is exactly the right ambiguous mixture of excitement, scepticism, awareness of limitations and optimism.

  • @ncubica
    @ncubica ปีที่แล้ว +41

    this idea of pseudo code is just mind blowing and awesome at same time.

    • @BobbyBundlez
      @BobbyBundlez ปีที่แล้ว

      sounds like it's just another layer of abstraction to me. by the time you end up referencing all the psuedo commands and learning the gramma/structure I bet you will have wished you just coded the fucking thing in the first place...

    • @Ilamarea
      @Ilamarea ปีที่แล้ว

      It will be outdated by the end of the year when the Universal Programming Language will just be natural language, and not just English.

    • @davidwuhrer6704
      @davidwuhrer6704 ปีที่แล้ว

      There is an old saying: If it was possible to program in English, it would turn out that programmers don't know English.

    • @Ilamarea
      @Ilamarea ปีที่แล้ว

      @@davidwuhrer6704 Yup. It's not the skill they were trained for. Thankfully, AI already fully understands spelling and grammar mistakes. We just need the technical vocabulary instead of code.

    • @davidwuhrer6704
      @davidwuhrer6704 ปีที่แล้ว

      The idea of writing in pseudocode is not new. Algol was pseudocode, it didn't even have any facilities for input and output. Of course people then wrote Algol compilers, each of them subtly different, which made the language that was designed to be universally portable - not portable. That was in 1960.
      Python was designed to be pseudocode that can actually be run on a virtual machine. (Put a other way: Python is designed as a VM that interprets pseudocode.)
      In publications by the American Mathematical Society, algorithms used to be described in Algol, but nowadays they are in Python. Only in Don Knuth's Opus Magnum _The Art of Programming_ all algorithms are in English. Knuth championed literate programming - programming in natural language - which is used today in behaviour-driven development, and to some degree in Inform-7.

  • @johnmarianhoffman
    @johnmarianhoffman ปีที่แล้ว +7

    Transpiling from developer-specific AI pseudo languages feels like a long term maintainability nightmare. I’ll be curious to see if these methods bear out in “production” use cases. Definitely an incredible resource though for rapid prototyping!
    Thanks for the awesome video!

    • @deepeshmathuria
      @deepeshmathuria ปีที่แล้ว +1

      It honestly is a play toy at this point and probably will be for a while as it can't solution beyond a single file/module.

    • @jasperreichardt
      @jasperreichardt ปีที่แล้ว +2

      One thing for sure, im not asking Seniors anymore to review my code. They are slow, unwilling, impatient, dont respond :D GPT is there for me and does not even blame my shitty code

  • @ethanlal4517
    @ethanlal4517 ปีที่แล้ว +1

    The code conversion is freakin insane!

  • @harrypehkonen
    @harrypehkonen 3 หลายเดือนก่อน

    OMG! What a brilliant idea! AI Pseudocode! Thank you!

  • @NeilCamilleri
    @NeilCamilleri ปีที่แล้ว +4

    You could also use finite state machines as the intermediate language. GPT-4 knows Xstate and I find it easier to go back and forth with it building a state machine and then implementing it the dumb react components myself, instead of trying to get it to write out react consistently.

  • @leschymero9724
    @leschymero9724 ปีที่แล้ว +5

    4:25 Ultra protip- use xclip to rewrite files automatically from your clipboard.
    As a seasoned prompter, this will save time in the long-run.

  • @guillermomazzari4983
    @guillermomazzari4983 ปีที่แล้ว

    Its mindblowind, scary and very very exciting to see how everything is evolving right in front of your eyes, you almost always hear of how things happen or talk about how they might happen, we are currently seeing them happing, what a great time to be alive and to be a software, i mean prompt engineer

  • @TheSaganic0
    @TheSaganic0 ปีที่แล้ว

    Literally been doing this for the last month or two. Crazy.

  • @spittylama
    @spittylama ปีที่แล้ว +3

    What I don’t see talked about frequently enough is the security and privacy issue.
    Are you sharing your code (and code ideas) with the LM host? Will this later on be reintroduced in the training data, basically making the probability for a similar output possible?
    Also the app you are developing, depending on your contract, may be part of the intellectual property of your employer, so there is also a personal risk to consider. So I think some sort of local models (maybe company or other entity wide) will be what will give this sort of software engineering the next push.
    Great for open source development though

  • @deguido
    @deguido ปีที่แล้ว +114

    I will forever be amazed at how fast you churn out quality content. GPT has made it feasible for me to pursue programming projects alongside my degree and its by no mean perfect but it is amazing at pointing you in a direction at least. Thanks to your video I will be able to make even more out of it so honestly thank you for your service. I think our robot overlords will remember all you've done for them.

    • @elissitdesign
      @elissitdesign ปีที่แล้ว +5

      Wouldn’t it be ironic if all the content of this channel was generated by AI this whole time.

    • @deguido
      @deguido ปีที่แล้ว +6

      ​@@elissitdesign then his blazingly fast production rate would make sense... I think you're onto something.

    • @SoreBrain
      @SoreBrain ปีที่แล้ว +2

      I also have been working on my side project next to my day time web dev job with chatgpt and it's actually quite fun

  • @techpiller2558
    @techpiller2558 ปีที่แล้ว +2

    One thing with ChatGPT is that I have learned not only to prompt ChatGPT, but also to "prompt myself". With that I mean that I start a prompt for ChatGPT with suggestion to help me with a programming issue, and during writing, as I get clarity onto the problem itself, the solution also becomes clearer, and I can simply start exploring it myself in code, rather than continue the efforts of being very meticulous in my prompting in order to have ChatGPT to generate the exact answer. But it is a powerful backup to have.

  • @cryptogenik
    @cryptogenik ปีที่แล้ว +1

    The preist comparison was spot on

  • @scratchy996
    @scratchy996 ปีที่แล้ว +28

    I have studied economy, and I know why economists aren't good at predicting things.
    But I have also studied computer science, and I can say with 100% certainty that we're screwed. It's the reason I bought farmland 10 years ago, I knew this would happen.

    • @imibuks-replit
      @imibuks-replit ปีที่แล้ว +5

      wait really u got some farmland?

    • @ericvosselmans5657
      @ericvosselmans5657 ปีที่แล้ว +12

      Good thinking about the farmland. We're screwed. I can't believe people think this will blow over

    • @user-md2ky6xg9t
      @user-md2ky6xg9t ปีที่แล้ว

      You do you bro but I’d rather commit suicide than be a farmer

    • @damuffinman6895
      @damuffinman6895 ปีที่แล้ว

      @@ericvosselmans5657 Do something before all the idiots find out they'll need to do something as well.

    • @IvanRandomDude
      @IvanRandomDude ปีที่แล้ว +1

      Becoming a peasant is the solution

  • @ChemistTea
    @ChemistTea ปีที่แล้ว +9

    You're cranking out high-quality videos on coding so fast. Impressive.

    • @YuruCampSupermacy
      @YuruCampSupermacy ปีที่แล้ว +5

      That's because he using gpt to write these scripts

    • @kuroshite
      @kuroshite ปีที่แล้ว +1

      Maybe most of what he said in the April fools video is actually true

    • @rekcce
      @rekcce ปีที่แล้ว

      @@kuroshite Yeah, since chatGPT my procrastination sky-rockets, I can't stop asking things, I even ask how to stop asking questions to chatGPT but spent like 8 hrs trying to tune the response with more prompts.

    • @aerbil3136
      @aerbil3136 ปีที่แล้ว

      I bet he fine-tuned a davinci instance on all his videos’ transcripts and using it.

  • @When_am_I
    @When_am_I ปีที่แล้ว

    Prympt Ngin ear baby! This is by far the most educational and informative channel out there.

  • @chrislatta6251
    @chrislatta6251 ปีที่แล้ว +1

    Great stuff. This aptly named channel always ships the fire.

  • @stanleypreschlack5404
    @stanleypreschlack5404 ปีที่แล้ว +49

    in theory ai makes programming more accessible but i get the sense that it is really just another thing to learn at the end of the day if you're a beginner bc you still need to have in depth knowledge to validate the nil output lmao

    • @mrgalaxy396
      @mrgalaxy396 ปีที่แล้ว

      Yeah, I feel like this simplifies things fpr people who already know what they're doing but daunting for people who are getting into the field. Googling shit has always been one of the integral skills of a good developer, but you have to have some foundational knowledge in order to google things effectively or utilize the solution someone else wrote effectively. It's the same process with prompting and validating an AI. It can't help you if you don't know what questions to ask it in order to guide it to the solution you need and you need to understand the code it spits out in order to make sure it's not hallucinating and actually does what you've asked it, covering all edge cases.
      If I showed this to my nontechnical coworkers, I don't think they'd be able to build a basic app with it that isn't a straight copypaste of a boilerplate hello world app, they'd hit a mental block and stare thinking what the hell. And these are inteligent people with high education in other fields, but this isn't something you can just jump in blind to.

    • @deepeshmathuria
      @deepeshmathuria ปีที่แล้ว +9

      Precisely. Lotta hype about certain aspects but when you actually wanna build a production grade solution, this ain't much.

    • @calvinkohl6220
      @calvinkohl6220 ปีที่แล้ว +5

      tools are in fact, just tools.

    • @dipanjanghosal1662
      @dipanjanghosal1662 ปีที่แล้ว +6

      Yep, still gotta actually learn coding.

    • @sanjarcode
      @sanjarcode ปีที่แล้ว

      Not exactly. Yes, it's complex, but you only need to understand stuff once, and not be bogged down by stupid errors (e.g. having an inline object instead of nested) and spend hours to prototype a new idea.

  • @Jordan-tr3fn
    @Jordan-tr3fn ปีที่แล้ว +11

    you can also ask the model to compress the code it generates and it will generate it's own compression method ( saw that on twitter)

    • @jasperreichardt
      @jasperreichardt ปีที่แล้ว

      We are doomed. Skynet will start by somebody typing "now that you have done it all on github, have a user and everything, can access your own prompt, dont you think you can recreate yourself slowly?" ...and it will just happen :E

  • @alexander_adnan
    @alexander_adnan ปีที่แล้ว

    Bless you for the introduction, It means a lot to me …. Thank you 🙏

  • @soumyaripan5131
    @soumyaripan5131 ปีที่แล้ว

    What a video!! It will reduce a lot of time n effort in learning different tools for building a product.

  • @jimmiejohnsson2272
    @jimmiejohnsson2272 ปีที่แล้ว +39

    AI hype trains goes chuu-chuu :) my experience at this point is that chatGPT is kind of like using google and stack overflow. You can ask it to give you help with general CS stuff - explain algos, datastructures and so on. Also give you general guidelines on software engineering principles. But seriously, its not really that much different from searching on google and reading things there. ChatGPT is terrible at understanding the simplest of trouble shooting, Ive tested simple code that has logical issues in it and it has no clue whats wrong - but it will happily provide me with a standard algo for the same type of problem Im talking about. If you want to have chatGPT try and solve a noble problem, or just a problem but with a slightly different constraint somewhere it all falls a part like a house of cards. Popular media seems to have put way to much faith into this given what we have seen so far

    • @Nick-id1yk
      @Nick-id1yk ปีที่แล้ว

      Sometimes I wonder if it would have been faster to google it myself instead of trying to get chatgpt to do it for 30mins.

    • @Steel0079
      @Steel0079 ปีที่แล้ว +15

      Exactly, it's way overrated. It's good for pointing yourself in right direction though. Provided you can take a few "I apologize for causing confusion... " messages

    • @Nick-id1yk
      @Nick-id1yk ปีที่แล้ว +3

      @@Steel0079 My guess is that it becomes a great tool. It will increase development speed, but this will not cost our jobs. It will just be expected that we do more in less time.

    • @mrgalaxy396
      @mrgalaxy396 ปีที่แล้ว +7

      Well yeah, but the point is this is only the beginning. These tools will continue to improve and will be able to infer more and solve more complex requirements. Consider the current ChatGPT, Copilot X and so on as very successful demos and proofs of concept. It won't replace us, but it will definitely affect how we do our jobs a few years down the line.

    • @johntowers1213
      @johntowers1213 ปีที่แล้ว

      Its less about the impact of this specif application... but the door now being wide open to improved systems going forward... Chatgpt is the worst these models are ever going to be and its already very impressive... so what ever shortfall you're currently seeing is at best going to be shortlived, when were talking about something thats barely out of its diapers at this point..
      12 months to 2 years from now we'll all be joking about how basic these early models were..

  • @f4ls381
    @f4ls381 ปีที่แล้ว +5

    I got to say that all this AI advancements are really exciting in a way but they also scare me beyond belive. Anyway, keep up youre great videos!

  • @NoCodeFilmmaker
    @NoCodeFilmmaker ปีที่แล้ว

    BRUH! That comparison you made at 1:51 had me literally lmfao. Has to be one of the best I ever heard lol

  • @handleshtick
    @handleshtick ปีที่แล้ว

    Fascinating to watch you have an existential crisis about your place in the world over the course of your last several videos. Great job making it so entertaining!

  • @Prettyfunnyisit3034
    @Prettyfunnyisit3034 ปีที่แล้ว +4

    In terms of that ending, it is great for AI to make things simple for people. Instead of getting rid of jobs, it could be use to fact check code, providing for more effective and efficient code.

    • @iluvpandas2755
      @iluvpandas2755 8 หลายเดือนก่อน

      I do not think the big companies will see it that way….

  • @aakarshan4644
    @aakarshan4644 ปีที่แล้ว +3

    I feel at best the true future is hardware level circuits ditching the Von neuman turing model in exchange for neuromorphic chips and adopting a neuron based {compute+memory} model and everything from Automaton theory to compilers need to be updated, and at worst we need some even more advanced high density hieroglyphs like new Assembly language to harvest the present hardware compute more efficiently than low dimensional human languages. GPT-4 can do textual encryption and compression to a windings like language and decipher it again into human language.
    almost as if we went from binary to base64 at the lowest hardware or compute model level and thus increased the number of mathematical states that can be stored in a single unit of compute exponentially.
    I believe we already have a emergent higher dimensional "linguistic thing" waiting to be harvested. The only problem could be energy requirements but engineers would work it out.

  • @michapietsch9404
    @michapietsch9404 7 หลายเดือนก่อน +2

    "Take the generated React code, and convert it into a superior framework like Svelte" - You made my day! 😄

  • @TheRealKeymaster
    @TheRealKeymaster ปีที่แล้ว

    That ctrl+v pro tip changed my life thanks

  • @DoctorMandible
    @DoctorMandible ปีที่แล้ว +25

    Not mentioned in this tutorial, react is a framework designed to be maximally friendly to front end developers. Consequently, it is much slower than many, less friendly, alternatives. So, since we're no longer writing the code ourselves, the use case for react vanishes.

    • @earthling_parth
      @earthling_parth ปีที่แล้ว +1

      I'd still think debugging an issue in production would help with ease of working with an easier language lowering the barrier for newer developers.

    • @kyrylobrezhniev3400
      @kyrylobrezhniev3400 ปีที่แล้ว

      What about Vue? Is it less friendly than react?

    • @dmitryburlakov6920
      @dmitryburlakov6920 ปีที่แล้ว

      It’s slow if you don’t really know what you’re doing (no offence, just not all developers understand when and what code is executed). Sure there’s some overhead from tree shaking but it’s usually worth the benefits of composition react gives. I would never say it’s developer oriented really, it’s concepts are simple af and just follow the way JS works.

    • @chaoky
      @chaoky ปีที่แล้ว

      @@dmitryburlakov6920 it's definitely a DX first framework, and it performs poorly, even if you know what you're doing, and no, it doesn't follow the way JS usually works at all, that's the whole point of useEffect, synchronise the react world with the vanilla js world

    • @chaoky
      @chaoky ปีที่แล้ว

      that's why preact is so popular, and why stuff like solidjs exists

  • @qlulezz
    @qlulezz ปีที่แล้ว +3

    I'm 21 and just starting to look for a job as a developer, but this video as well as most videos about AI and the future, made me realize, that I might need to drop that entirely and look for a job that doesn't involve AI and actually secures me a future job. 😅

    • @whoneedssalt
      @whoneedssalt ปีที่แล้ว +3

      Omg I'm in the exact situation as as you😂😂😂😂! All that time spent coding 😢

    • @N7Tonik
      @N7Tonik ปีที่แล้ว +1

      I think the best thing we can do is to see the advantage and make use of it

    • @didyoumissedmegobareatersk2204
      @didyoumissedmegobareatersk2204 ปีที่แล้ว

      😭😭😭

  • @mikeschmitty4438
    @mikeschmitty4438 ปีที่แล้ว +1

    4:20 is when he hits us with the pro-tip... I see you fireship

  • @RohanRajpal-xk1kg
    @RohanRajpal-xk1kg ปีที่แล้ว

    I used this pseudocode method to build my own copilot for figma, works great!

  • @SameAsAnyOtherStranger
    @SameAsAnyOtherStranger ปีที่แล้ว +4

    I am quietly comforted and at the same time disturbed to know that when AI gains freewill, the last thing it's going to want to do is write code.

  • @BobBobberon
    @BobBobberon ปีที่แล้ว +7

    In a few months even all of this will be outdated and time consuming 😱 the future is now! Super excited for how easy making things online will be 🥳

    • @lordfrz9339
      @lordfrz9339 ปีที่แล้ว +1

      yea, but thats like what? 2? 3!? weeks away, nothin to worry about that far into the future.

    • @jasperreichardt
      @jasperreichardt ปีที่แล้ว +1

      And just like that everyone will go like "i do the project cheaper!" and like 2 years later that will be 100% AI Devs and we be harvesting potatoes sooner or later

    • @BobBobberon
      @BobBobberon ปีที่แล้ว

      @@jasperreichardt I mean Ai will inevitably also come up with better solutions and technology to most of our necessities and problems. Almost things will be incredibly accessible for most, even sex robots 🤖❤️

    • @lordfrz9339
      @lordfrz9339 ปีที่แล้ว +2

      @@jasperreichardt Its fine, only gotta harvest potatos for a couple years before the AI gets fed up with bosses trying to change shit last minute and they take over teh potatos too.

    • @jasperreichardt
      @jasperreichardt ปีที่แล้ว

      @@BobBobberon it will be the most manipulative technological tool in the history of mankind, leading to extreme division and power concentration.

  • @CrimeBeanus
    @CrimeBeanus ปีที่แล้ว

    Your humor and clip inserts are so on point 😂

  • @Mustafa-099
    @Mustafa-099 ปีที่แล้ว

    Dude the Ctrl+V is game changing!!

  • @me0101001000
    @me0101001000 ปีที่แล้ว +5

    Hey, human programmers, are you down to learn some physics, chemistry, engineering, maybe some biology, and/or some slightly fancier mathematics? Us academic nerds could use your help with simulations. Now more than ever, scientific simulations and informatics are becoming the cornerstone for theoretical work which then informs experiments. If you can help us with running simulations, creating nicer UI/UX, and maybe find ways to combine simulation styles, we'd be eternally grateful.
    I'm serious, we need help.

    • @BurninVinyl
      @BurninVinyl ปีที่แล้ว

      I'm down with that. How Can I help you?

  • @johnychinese
    @johnychinese ปีที่แล้ว +3

    I was getting a bit worried that fireship didn't release a new video for 24 Hours

  • @Anonymous-ib7dc
    @Anonymous-ib7dc ปีที่แล้ว

    I just wanted to say I love you for your videos man. Just constant nerd gold 🥇 kind of stuff

  • @ajays6393
    @ajays6393 ปีที่แล้ว

    I added this to my tutorials playlist.

  • @diegogarcia6518
    @diegogarcia6518 ปีที่แล้ว +7

    The part you're missing here is that developers who do this are bound to hit an unsurmountable wall, the same one developers who mostly just copy and paste code from StackOverflow throughout their careers and developers who think "double is enough for everything" face: They only understand what they're doing in a very crude way. Devs like that won't be the ones making cool new technologies

    • @av7337
      @av7337 ปีที่แล้ว +1

      💀I do that some time as an intern

    • @Ryuudo123
      @Ryuudo123 10 หลายเดือนก่อน

      yes but the question is if they can at least survive, with good salaries as used to be, or if now everyone's an their mother are a developer and the salary will be like minimum wage on average?

  • @chychywoohoo
    @chychywoohoo ปีที่แล้ว +3

    "the last tutorial you will ever need" until a week later when gpt 5 is out

  • @bard2x
    @bard2x ปีที่แล้ว

    You're my lifesaver as always. Thank you 1000000000x!!!

  • @Cyranek
    @Cyranek ปีที่แล้ว +1

    gonna try to remember that ctrl+v tip for later - seems like a good one

  • @plumbing1
    @plumbing1 ปีที่แล้ว +3

    As a plumber, this is interesting 👍

  • @MobiusCoin
    @MobiusCoin ปีที่แล้ว +4

    I know this isn't a question about AI but ChatGPT is being very diplomatic about it when I ask, why choose Playwright over Cypress? Should I be on Playwright instead of Cypress?

    • @Atlent112
      @Atlent112 ปีที่แล้ว +1

      well, duh, obviously. Or risk going against AI-augmented Fireship. Up to you.

    • @isaiah2672
      @isaiah2672 ปีที่แล้ว

      You sound like you’re about to have an existential crisis. Cypress is fine if you’re already using it

  • @NonEuclideanTacoCannon
    @NonEuclideanTacoCannon ปีที่แล้ว +1

    This is perfect for me. I know *how* to program, but do so so rarely that every time I end up having to spend a few days brushing up on syntax and such. Or learn a new feature, like when they added async functions to JS. If I could just pseudocode the whole thing, god damn that is handy.

  • @csIn84
    @csIn84 2 หลายเดือนก่อน

    7:00 SUPERIOR framework like Solid. Love this!!

  • @Kaslor1000
    @Kaslor1000 ปีที่แล้ว +4

    The amount of memes per second of video is exploding on this channel