Is ChatGPT actually useful for coding?

Поділитися
Вставка
  • Опубліковано 23 гру 2022
  • 💬 Discord / discord
    🔔 Newsletter eepurl.com/hnderP
    📁. GitHub github.com/codyseibert
    My VSCode Extensions:
    - theme: material community high contrast
    - fonts: Menlo, Monaco, 'Courier New', monospace
    - errors: Error Lens
    - extra git help: Git Lens
    - tailwind css intellisense
    - indent rainbow
    - material icon theme
    - prettier & eslint
    - ES7+ React Snippets

КОМЕНТАРІ • 338

  • @0conorD
    @0conorD Рік тому +1283

    This chat is much better than stackoverflow
    At least it doesn’t attack me when i ask same thing over and over
    And has better answers too

    • @wykydytron
      @wykydytron Рік тому +25

      Well friendly reminder it will be pay for answer so asking it same thing over and over will be worse then random drama from stack overflow elitists 🤣 as for better answers it literally copy pastes answers from stack, free code, etc. I tasted it with vanilla JS and 90% of answers were copy pasted from free code camp. Still very useful tool to have. I can see it replacing 90% of Google searches.

    • @justinbaker1488
      @justinbaker1488 Рік тому +1

      This is a super funny comment!

    • @lolzhunter
      @lolzhunter Рік тому +61

      ong the most annoying entitled people are coders/mathematicians on forms, the stubborn disregard to answer the question and correct them until its written "correctly" even though you understand what the person is asking for is actually crazy

    • @kv4648
      @kv4648 Рік тому +4

      Bruh stem ppl be too arrogant sometimes

    • @antimewpropaganda9503
      @antimewpropaganda9503 Рік тому +6

      Instead it lies to you and tells you something wrong is right

  • @kiasta1
    @kiasta1 Рік тому +203

    "The better you understand the business logic, the better the AI can generate what you want." Don't worry guys, we're safe. Companies can't even give proper business requirements to people, even when there are dedicated people who's sole purpose is to gather requirements, let alone explain them to an AI.

    • @WebDevCody
      @WebDevCody  Рік тому +14

      Best comment yet

    • @PeeBeeXXX
      @PeeBeeXXX Рік тому +1

      Agreed ❤

    • @meinsouza
      @meinsouza Рік тому +6

      as a Product Manager I vouch for this, when I talk to my company's leadership they're unable to give me clear directions to where they wanna go...

    • @sholland42
      @sholland42 Рік тому

      Yep

    • @dongli7461
      @dongli7461 Рік тому

      true insights, but can company leadership directly apply gpt to build prototype?

  • @NoiseLeGGa
    @NoiseLeGGa Рік тому +408

    I now use the AI on a daily basis. You learn to talk to it. It's like a junior developer who sometimes does stupid things and sometimes produces really amazing code. But you always talk to the AI, it learns that too. Especially with stupid work, the AI is a real help.

    • @wykydytron
      @wykydytron Рік тому +27

      It doesn't learn when you talk to it, from what I know it's learning when devs set it to learning then they upload what it learned into what we use. When you talk to it it just remembers what you asked and assumes you stayed in topic. Also several source places already banned chatgtp so it will have harder time to learn new things. Database it uses now is based purely in 2021 resources.

    • @Thomas-dp8eb
      @Thomas-dp8eb Рік тому +22

      Im a junior developer who sometimes does stupid things, quite often actually :/

    • @dakdak3331
      @dakdak3331 Рік тому +13

      @@wykydytron it does learn from your conversation, but that learning only applies to that one conversation and does not train the whole model.

    • @michaellight2211
      @michaellight2211 Рік тому +1

      What a great tool.

    • @Chef_PC
      @Chef_PC Рік тому

      This is precisely the way I look at it. It’s based on language and conversational constructs, so it will understand you much better when you treat it like a colleague…one you like anyway.

  • @Grimsyxd
    @Grimsyxd Рік тому +16

    This might be a game-changing moment for people like me who can't code properly. I tested it myself on Godot and made multiple working game mechanics with GPT-3.5 without much editing. The AI explains the code very well, and you can ask it literally anything, anytime. I'm getting goosebumps as I write this.

  • @macctosh
    @macctosh Рік тому +43

    I would use this to write TDD app because I hate writing tests of any kind! Tests are generally easy to read but a major pain to write.

  • @lionelcoombes2122
    @lionelcoombes2122 Рік тому +12

    I have found that it can create project documentation. Give it the specifications of the system you want to program, how it should work, technologies you want to use. Then ask it to create a "Design document" based on what you have provided. Ask it questions to clarify certain things, ask it to evaluate the what you have discussed with it and to advise on what may be needed in addition to what you have already described. You will have to read the document and describe the features you want changed. Ask it to recreate a new document based on the changes you have made. Once you have a basic document, copy it to a new chat and continue to refine your document. I have found that when the chat becomes to long the AI becomes less reliable with its answers.

  • @TheRcfrias
    @TheRcfrias Рік тому +159

    It’s an amazing tool for developers, most like a tandem tool. I literally switch from searching in google for the answers, but not entirely, something around 80% ChatGPT and 20% Google

    • @oeufleau8543
      @oeufleau8543 Рік тому

      same

    • @justjuniorjaw
      @justjuniorjaw Рік тому

      One main reason this happens is due to searching for documentation and that ChatGPT data is only up to Sept 2021. Any newer stuff after that will have to be Googled.

    • @stuartdparnell
      @stuartdparnell Рік тому +2

      Same, I found it useful for asking how to integrate xyz libraries to C++

    • @TerrenceLP
      @TerrenceLP Рік тому

      if you know how to code this thing is amazing, the term Prompting is where it's at. Now my ideas are just well thought-out plans and AI gets the project started. It Talks to my Docker containers lol

    • @USGrant21st
      @USGrant21st Рік тому

      It's not a good tool for developers at all. The answers it gives are pretty much wrong, unless it's something trivial, that you don't need to ask for. Perhaps, if you have a bad memory it can replace a specific help file for you. But even in that case I would recommend using the actual help file, at least you won't be led astray.
      Chatgpt gives plenty of wrong answers, but it never tells you it's not sure, or to take the answer with caution. It cobbles code from different sources without regard to context. The code is always shown in a primitive/dumb style, never seen anything elegant generated. It's useless for an experienced developer, but for a novice it will be fun finding out that the reality is totally different from what they've got from chargpt.

  • @alexisp.50
    @alexisp.50 Рік тому +3

    i've been using it on and off on my class projects while learning PHP and the MVC model for the first time, mostly for debugging purposes. Its really comfy, and you can " converse " with it to argue on its code snippets. The iterating on the code it gives or the one you feed to it is a great help in cases where you kind of need the "conversation" with "another person" to understand your debugging. Though its obviously not flawless, and is probably not suited for large projects with more than 3-5 pages interracting together

    • @WebDevCody
      @WebDevCody  Рік тому

      I just used it again today and it provided me with a bunch of old library code. I’ll refer to the docs for now on I think

  • @amershboul9107
    @amershboul9107 Рік тому +3

    we missed you man, we are waiting for your videos every day

  • @shadamethyst1258
    @shadamethyst1258 Рік тому +35

    I'm amazed nobody has noticed that the AI is mutating the objects in the useState. In this instance nothing breaks, but as soon as you introduce effects or more complex things you will encounter funny issues

    • @WebDevCody
      @WebDevCody  Рік тому

      I think it uses a spread operator so it would be ok

    • @shadamethyst1258
      @shadamethyst1258 Рік тому +16

      @@WebDevCody The spread operator only does a shallow copy, so the objects inside of it are getting mutated. You would most likely run into issues with it if you were to create a "Row" component, as it wouldn't re-render on updates

    • @dorian7215
      @dorian7215 Рік тому

      @@shadamethyst1258 thanks for that info. I didn’t realize that issue could present itself in that way.

  • @TheRedCap30
    @TheRedCap30 Рік тому

    What is great about this is that it really speeds up the mundane tasks of programming, like making a template file for a new project I want to work on, or helping me install dependencies in an easy to understand format.

  • @astrokier
    @astrokier Рік тому

    You’re very good at going through the codes prior to running it. Thanks

  • @baldyaus23hd30
    @baldyaus23hd30 Рік тому

    I only just started to use chatGPT this week, Its defenly been added to my tools to assist. I found it great to also help resolve errors from code i have written. Im finding its improving my understanding and knowlage of the scripting im doing has dramatically increased in the past week. Its been able to show me how to do the more complicated (for me) code that would have taken a few hours of reserch and digging on forums.
    Im not a programer just someone at home who like to write small scripts to perform spesific tasks.

  • @therocksince99
    @therocksince99 Рік тому +55

    This tool was very helpful on my university project, of course it cant give all the awnsers, but if you do the right questions it can give you a amazing result. It's a cool tool for slow learners like me, to give a push and at same time to learn. There is some tweaking to the code it generates to the purpose you want.
    P.S It's a really good debbuger.

  • @shadowpony9243
    @shadowpony9243 Рік тому +3

    they use some css and maybe js for the writing back effect, meanwhile as it starts writing the first character the whole generated code could be seen on the network tab

  • @hi_fox
    @hi_fox Рік тому +1

    Love seeing things like this, his reaction to the first time it works exactly as described is like "... and it does exactly what it should...."

  • @everemchuk
    @everemchuk Рік тому +5

    That impressive, from my perspective it definitely will change the game in job requirements and workflow in companies. Now its pretty raw but even though its doing great things. The fact that it can generate code from your braindstorming, is a game changer. However, it cannot generate code or ideas by itself. So, experts and those who creates ideas and understand what this chat generate will in squad until we dead.

  • @CYKG2023
    @CYKG2023 Рік тому +4

    Chat GPT is made as an external tool for us Developers that’s it but you can use this tool to make your knowledge and skill go up if you use it right and as well as help you in different areas as well.

  • @joshiwashi4297
    @joshiwashi4297 Рік тому +1

    I am pretty sure that there is forced delay. But when it slows down or gets stuck, it is trying to figure out what it has to make. I think this might happen if the user conditions have rarely or never been used before.

  • @979259
    @979259 Рік тому +6

    Chat GPT is an incredible tool for MBAs. It gets me a base of code and debugs itself with input and it catches errors that would take me hours to solve as an inexperienced programmer.

  • @Brovioli
    @Brovioli Рік тому +2

    This thing wrote out a basic version of conways game of life in python, using ASCII. It wasn't interactable but had preset blobs, that properly grew/died as the text scrolled down through each "frame" / wall of ASCII.
    Edit: After changing the phrasing to, "write an interactive conways game of life in python using pygame" It then generated a working interactive code, making use of pygame and numpy on the first try. It even seems to be using the same code/math as the original as using the starting patterns on google has the same results in this version. My mind has been blown.

  • @phyzix_phyzix
    @phyzix_phyzix Рік тому +9

    Learning something new with ChatGPT is awesome because you get to learn things in the way you want to learn them. The limitation of existing books and videos is the information is presented in the format that the author of the book or video wants to present the info. But now you can have the info presented however you want. And you can dive deeper into any area you're interested in.

    • @elijahbuscho7715
      @elijahbuscho7715 Рік тому

      can't you just jump around between books and videos and get the same effect? I find googling around even better because you discover comprehensive references that you can return to or learn from little by little, whereas with an AI like this, you're exclusively trusting a third party instead of interacting with primary sources.

    • @phyzix_phyzix
      @phyzix_phyzix Рік тому +1

      @@elijahbuscho7715 That's the point. You don't have to jump around and you can choose in what format and what level of detail you want to learn about a subject. Your argument is like saying why do we Google stuff when we can just go to the library and look around bookshelves until we find the sources of what we're looking to learn.
      Technology has evolved.

    • @elijahbuscho7715
      @elijahbuscho7715 Рік тому

      @@phyzix_phyzix bringing in the library into the discussion is a valuable addition. I see 3 levels of information sources:
      1. books, or other comprehensive, long form content that provide in depth knowledge and theory.
      2. summaries, or tutorial videos, or articles that give a cursory overview, or info a specific subset of a topic without the full picture. (Google, UA-cam, stack overflow, tutorials point type sites)
      3. AI that can provide great info, or a place to start when you don't really know where to look, or what you need to look for.
      Each of these serves a unique purpose, and one is not subsumed by another. If you really want a deep understanding, you need books or comprehensive references, and the Google and UA-cam videos can help you get an overview and highlight what you don't understand, and find the books you need. Also when you really don't know where to look on the internet, or have no clue where to start, AI can be a great source of inspiration, but you're not going to become an expert in anything using exclusively ChatGPT.
      Does that make sense?
      I think I underestimate the usefulness of ChatGPT because I generally am able to find info I need fast enough with just UA-cam/Google. I haven't tried ChatGPT though, so I might try using it like I described above, as a jumping off point when I really don't know where to start on something. I do sometimes struggle with that, so maybe this new tech will be able to fill that gap.

  • @msrini
    @msrini Рік тому +4

    I ran into same those js file import issues which are caused by vscode. To overcome this, we need to setup some config in jsconfig file.

  • @SuiHozman
    @SuiHozman Рік тому +1

    The last time I ACTUALLY was into coding was like 2015 or maybe 2017. However I'm constantly trying new things and code with ChatGPT that it's renewed to "fun" aspect of coding for me. I always wanted to be a coder, and while I don't want to really anymore I'm just happy I can have fun doing something I love again, even if it's not quite the same.

  • @NK-od6di
    @NK-od6di Рік тому +1

    Bless you if you have to solve such issues at your work.

  • @quenting4885
    @quenting4885 Рік тому +1

    I tried to make a simple function in C and as the result you see this in the function:
    return x
    return y
    I don't think y will be ever return, but it think it does when I ask it to make an example use of the function.

  • @tonykingpr441
    @tonykingpr441 Рік тому

    Im really exited because i want to learn. I learn about almost all the programming language i wanted to learn. The best one im good at is python but the problem i have is that i need to learn about the libarys i want to use. I hope i can use this to learn.

  • @Amy_A.
    @Amy_A. Рік тому +25

    I think all developers should learn to program with AI; I honestly feel Copilot saves me at least an hour every single day I use it, and something like GPT could save even more.

  • @ilove2learn783
    @ilove2learn783 Рік тому +1

    I tried to use it with my workflow and it is just not worth wasting time on it. It just doesn't keep up with what you would write yourself (and without mistakes). If there's anything more complicated than a simple function to write then it really struggles. But it is a good tool for some simple, basic stuff or if you have a brain fart and need an idea for a solution.

  • @OnchiBon
    @OnchiBon Рік тому +1

    I have personally never used it but I've seen uni mates input entire assignments after they were done with it, verify if the code actually worked (which it did, with some minor tweaks) and checking for plagiarism and it came out safe.

  • @tenzintsenpey5274
    @tenzintsenpey5274 Рік тому

    instead of dragging, use the copy button which is at the top right corner.

  • @ekaterinavalinakova2643
    @ekaterinavalinakova2643 Рік тому +5

    I've been using it for help with game dev. It can do things that can point you in the right direction, and even the broken code it generates can do that. But for niche programming languages like GD script in godot, if you are trying to improve the procedural generation in the game, it's going to be very lacking in this area. It reminds me a lot like AI art. It can do many things amazingly well, but in certain niche areas, it's lacking severely.

  • @justinbaker1488
    @justinbaker1488 Рік тому

    This is a really great review.

  • @ThankYouESM
    @ThankYouESM Рік тому +1

    I suspect the reason why it does slow typing is because of busy web server traffic... whereas if the ChatGPT answer looks wrong we can cancel, but... apparently forgot to provide a cancel button.

  • @jesse9999999
    @jesse9999999 Рік тому +7

    As someone moving from Python backend work to experimenting with app building using the t3 stack, chatGPT has been an invaluable teacher to help me implement the basics of my ideas and to give me somewhere to build from. Loving this new tool and it has allowed me to build a website with many pages, multiple different forms and a functional backend in a few days where my previous experiments had never resulted in satisfying results.

  • @MrSemro12345
    @MrSemro12345 Рік тому +3

    As a Software Engineer I must admin that this tool is absolutely legendary. In a matter of 10 minutes I literally learned how to setup an API gateway for re-routing requests to individual services for my microservices backend application. I think that ChatGPT should absolutely be used to speed up the development of certain features instead of spending hours upon end coming up with a solution. Also just to elaborate on my previous point, I do not think it will replace developer jobs because it cannot keep up with scope creep as requirements are constantly changing in a project, it does not know how to go deep into the software architecture design, for example designing a backend microservices system for an enterprise store. That's just my opinion on it.

    • @sm-vr9xo
      @sm-vr9xo Рік тому +1

      Hey don't you think companies will now require less developers as it does work efficiently?

  • @MaxProgramming
    @MaxProgramming Рік тому +8

    That's a good insight! I have been using ChatGPT for small things these days.
    Also, 5:21, auto import doesn't work the way we want it to work in a TS project when u want to import JS files

    • @WebDevCody
      @WebDevCody  Рік тому +2

      I even tried manually writing the import statement and it was still failing. I think it was something more problematic than just auto import, but too lazy to investigate further

    • @MaxProgramming
      @MaxProgramming Рік тому +1

      @@WebDevCody well then maybe you have to enable the allowJs option in the tsconfig file

    • @WebDevCody
      @WebDevCody  Рік тому +1

      @@MaxProgramming ah maybe that’s it

  • @jaybroach980
    @jaybroach980 Рік тому

    Honestly I see massive potential in learning new marketable skills such as coding, maybe even learning a second language, cooking and so much more. Honestly my most recent curiosity about chatgpt is if the ai can write the code for a new ai. It's not outside the realm of possibility just a bit improbable. I would like to see this further developed and implemented to assist with the speed of video game production. Great video man just had this video pop up on my recommended. Lost my job Monday and am looking at ways to improve marketability or maybe even work for myself

    • @WebDevCody
      @WebDevCody  Рік тому +1

      I wish you luck in finding another job. Yeah it has some good use cases and it easier than googling for some things

    • @jaybroach980
      @jaybroach980 Рік тому

      @@WebDevCody thank you for the well wishes. I did notice that it seems more streamlined when you ask it anything compared to most search engines.

  • @uzcigg
    @uzcigg Рік тому

    I believe they have the delay of it typing slow so it doesnt crash more than it already do

  • @markmental6665
    @markmental6665 Рік тому +1

    Chatgpt is crazy, i had it make me a backend node js web server from scratch

  • @AshtonMotana
    @AshtonMotana Рік тому

    The hardest problem for AI to try and code something is the understanding of a whole problem, because well, there are micro solutions to a problem. You can't just simply ask a question because there is a lot put into articulating a series of problems. Too simple would be how do I read CSV file and replace the commas between equation marks while leaving the commas that will be used to split the data by columns, using JavaScript. It's solution, which I didn't try also didn't seem like a solution for capturing CSV data into a database and prevent data displacement. I know because I have created a utility that goes through the steps to automate cleaning of a CSV file to prevent data displacement. It didn't address the processing of mapping out the locations of the quotation marks or mapping all the locations of the commas, nor identifying the start quotation mark from the end quotation mark, nor identify which commas are between the start quotation mark and end equation mark and how to determine which quotation mark is the start from the end. The quotation mapping array index position is even and odd so you test the comma value being greater than the even index position but less than the odd index position, if true then you've identified the location of comma in the entire CSV to do the replacement. I just gave you part of the solution, for taking any CSV file using commas between something like "ABC, LLC" and into ABC; LLC, the purpose of doing that is when you split the row by commas to separate each object property, if the commas isn't replaced you end up with ABC, and LLC being split into two different properties or two index positions in the array, which you really want ABC; LLC. 3.5 million cells indexed in 3 quarters of second give a take and zero data displacement.

  • @shgysk8zer0
    @shgysk8zer0 Рік тому +1

    The grouping by first letter of last name can be done pretty easily using `arr.group()` (state 3, I think) in possibly less time than it took there (including time to open ChatGPT). It's basically a one-liner depending on the exact input and output:
    `users.group(({ lastName }) => lastName[0])`
    Maybe a bit more than that for sorting, but not much.
    This is just another reason I'm not worried about it... The code it generates just doesn't compare.

    • @shgysk8zer0
      @shgysk8zer0 Рік тому

      Update...
      const group = names => names.group(n => n.split(' ').at(-1)[0]);
      Yeah... ChatGPT generated like 30 lines of code and I did it in 1. Would be interesting to see how many operations each does since that's what'd matter for performance, but... My solution is difficult to test accurately since it may or may not use a shim for `arr.group()` and `str|arr.at()`.

  • @EvertJunior
    @EvertJunior Рік тому +8

    You did an awesome job highlighting this tool potential. I don't think it will replace (most) devs but will significantly change the job requirements as these tools evolves.

    • @johnycorbie6121
      @johnycorbie6121 Рік тому +1

      and AI devs will be paid in gold :D

    • @jamesorior
      @jamesorior Рік тому

      @@johnycorbie6121 There no AI devs lol

    • @johnycorbie6121
      @johnycorbie6121 Рік тому +5

      @@jamesorior yeah because these AIs are hatching out of eggs...

    • @jamesorior
      @jamesorior Рік тому

      @@johnycorbie6121 What I mean is that once the AI is done you don't need dev anymore because it can learn, and only feed more data once code is writte it is written. For example once AI has automate finance department, Database Admiistrators you don't need those jobs aymore and Dev too is gone. AI is only good when you can communicate with it well,. So the job that will stay is communication wth AI

    • @jendabekCZ
      @jendabekCZ Рік тому +2

      @@jamesorior And who is competent to communicate with AI about programming, and will be responsible for the results? Developers ...

  • @ml_serenity
    @ml_serenity Рік тому

    I believe the response is being typed out like that in order to reduce the load onto their servers.

  • @Sebanisu
    @Sebanisu Рік тому

    I've used it a little bit. It usually gets me 80-90% of the way there. Sometimes I'm stuck trying to figure out why something isn't working. That only sucks when it's a language I am not failure with. Like I was using it to create a shader. I was telling it hey this isn't working. it didn't seem to know why or it would quit. I needed to add a version line to the top and change how some lines did a few things. But I only figured that out with trial and error.

  • @master-oh6zn
    @master-oh6zn Рік тому +7

    It is really useful. My teacher gives me 4-5 english articles to do from Achieve3000 every week. There are questions after every article so I need to read it. After I found out about ChatGPT I built a bot that uses it to answer questions from the articles. Now I just open the file, write how many articles I want to read after that ChatGPT and selenium module does every single other thing. I am glad ChatGPT exists.

    • @jendabekCZ
      @jendabekCZ Рік тому +2

      But what's the point of your studying then?

    • @rennworks-actual
      @rennworks-actual Рік тому

      @@jendabekCZ if i had to guess its a class they are taking purely for grad requirements

    • @everemchuk
      @everemchuk Рік тому

      ur happiness gonna be as long as u supposed to take a test about something that u read before but i love idea

  • @agonyman4177
    @agonyman4177 Рік тому +7

    The problem with chatGPT is that same as other neurals - it's using open source materials. even not licensed for it in most cases. The solutions for pure functions doesnt work same as imperative architecure build ups. It 's good for beginners which would take long to take group function to make but as you code long that would be quicker to not bother googling / writing tho.
    Next thing is testing -> as we know ( ppl who do TDD ) testing to deploy on production is crucial and making all around tests is okey but in specific for architecture tests it doesnt pass anything more complex than the example showed.
    Last but not least -> If you feel safe to pass your aplication architecture for ai which is literally neural parser and thing they wont store this data which will lead to policy leaks you can be really supprised what prolems already open ai has even with google :)

  • @0kJaymie
    @0kJaymie Рік тому

    I love that you got an ad to watch your own video 😭🤣

  • @mehmetenescetin2182
    @mehmetenescetin2182 Рік тому +2

    i am trying to use it for my school project it messed up sometimes but it actually works a lot better than i expected.

  • @Quarkss
    @Quarkss Рік тому +7

    The big controversy I see is people debating “can it replace (name here)” … there’s lots of scenarios, sure it can probably replace a lot of devs in the near decade if it’s pushed to do that and companies start using this instead of Junior - mid level devs… it’s advancement will be astronomical, as the main source of people using it will be developers of sort, it makes sense that dev will be its strongest module.
    It’s going to keep getting smarter, which is good for us cause it helps a lot with our job… but what if it gets to good at our job, like really good lmao.
    I want to it succeed, because us meat sacks will probably destroy ourselves soon, AI will be the only representation of humanity in a 1000 years.
    Learning is a skill, once AI learns how to learn, good… it’s over.

  • @rogelioayus
    @rogelioayus Рік тому

    Is ProgramAi is acceptable than ArtAI? In the end, we programmers always search codes in the internet with the same code we deal with. I use this programAI a lot to solve so many simple program problems. Besides, I am lazy programmer to look into the internet for solution anyway XD

  • @elCapucinoo
    @elCapucinoo Рік тому

    12:49 you can just use the youtube adblock extionssion

  • @3cheeseup
    @3cheeseup Рік тому +1

    When it uses a map and not an object, that is correct, because you told it to do so 😊

  • @markopolo2224
    @markopolo2224 Рік тому +7

    We have about 10 years or so
    Imagine what the next version will be capable of doing

    • @feliperaulinolemos259
      @feliperaulinolemos259 Рік тому

      I'm kind excited to see. Mainly because the next version will use the experience of people actually using and feeding the platform.

    • @gidmanone
      @gidmanone Рік тому +2

      @@feliperaulinolemos259 more like 2 - 4 years

    • @michaelstots7107
      @michaelstots7107 Рік тому +1

      @@gidmanone not 2-4 years. Elon musk has been promising self driving cars next year for the past 7 years. This will not replace developers in 2-4 years unless you do stuff that open source projects can solve anyways. Copilot has been out for 2 years and I don’t know anyone that uses it. Until this can talk to a product person about requirements, write Jira stories, build the infrastructure in terraform, come up with an entire working and tested application, figure out deployments, and fix bugs, it’s not happening. We are a very, very long way from that.

    • @gidmanone
      @gidmanone Рік тому

      ​@@michaelstots7107 You are mistaking buddy!
      The revolution is not going to be abrupt as you have it in your mind.
      It will be gradual. You will notice it when
      -Tech companies start to reduce the number of hiring.
      - Size of Dev teams start to shrink as a result of increase in efficiency of the developer's daily work.
      bottomline: Tech is only a tool to achieve something. If said something can be achieved with less capital (developers), best believe CEOs and Stakeholders will go for it.
      As I said, We are not there yet but that little beginning is starting soon.

    • @michaelstots7107
      @michaelstots7107 Рік тому

      @@gidmanone they said the same thing when terminals came out, and IDEs, and open source projects, and blog posts, and compilers, and etc etc etc, and yet we have a massive shortage of developers. Developers spend most of their time doing other things like planning and fitting pieces together, a pretty small portion of time is spent coding. This is simply another tool for developers to use.

  • @My-Say
    @My-Say Рік тому +1

    Tell it to write a program to teach everything from basic algebra to advanced physics. 🙂I am a software developer haven't sold anything in ages, so I'd like to learn some other things.

  • @ChillAutos
    @ChillAutos Рік тому +5

    I used chat gpt for work the other day and it saves me probably 2-3 hours. I had a manual task to make a shitload of analytics interfaces and I built out the basic flow and then I got it to properly split the code for me into my event map + the interface. Not scared of it taking my job but excited I’ll have more time to do more interesting aspects of it.

    • @briantep458
      @briantep458 Рік тому

      lol same thing, it wrote like 800 lines of python for me to run an ETL

    • @michaelstots7107
      @michaelstots7107 Рік тому

      If chatgpt is saving you 2-3 hours per day you must be a very very junior developer

    • @ChillAutos
      @ChillAutos Рік тому

      @@michaelstots7107 I said it did that once, are you still in primary school? It was an extremely repetitive task that had nothing to do with skill but everything to do with the file being 1500 lines long of organised analytics interfaces. It saves me that much time because I didn’t have to hand write everything. Stay on your high horse though buddy, you must be a very principle level developer.

    • @michaelstots7107
      @michaelstots7107 Рік тому

      @@ChillAutos you said “it saves me 2-3 hours”, it seems like maybe you have a typo? So maybe you should go back to primary school and stop being toxic on the internet to strangers

    • @ChillAutos
      @ChillAutos Рік тому

      @@michaelstots7107 lmao you’re the toxic one trying to flex on UA-cam about people being juniors. Typical toxic victim mentality, can dish it but can’t take it. Boo hoo.

  • @MrEfrain15
    @MrEfrain15 Рік тому +8

    I used this last week to prepare for an interview and ended up getting the job, technology ❤️

    • @topi3146
      @topi3146 Рік тому

      Was the job in coding or something you will still be working on one year from now?

    • @MrEfrain15
      @MrEfrain15 Рік тому

      @@topi3146 It's a front end position with react and typescript, and I do see myself on the same path a year from now

    • @topi3146
      @topi3146 Рік тому +1

      @@MrEfrain15 cool, them congratulations and forgive me the somewhat mean way I asked

    • @MrEfrain15
      @MrEfrain15 Рік тому

      @@topi3146 no worries my friend!

  • @notreallyme425
    @notreallyme425 Рік тому +1

    I learned to code back in the 80’s. I never even imagined tools like this. And he’s already complaining how slow it is to write code! 😋

  • @XavierMurias
    @XavierMurias Рік тому

    write a flask that shows 4 rows and 3 columns chekboxes and only 1 box can be ticked at a time on each rows.

  • @fatemnazarzadeh5050
    @fatemnazarzadeh5050 Рік тому

    Of course that it is.
    It will help u so much

  • @choptlivah
    @choptlivah Рік тому

    Well, I know nothing about coding and I was able to have it make me a python script that searched 25,000 files for a specific format of numbers and then sort those files into folders named after that format of numbers. Did months of tedious work in a few minutes.

  • @Jimi-bx3xf
    @Jimi-bx3xf Рік тому

    i tried it for algo but there's a lot of errors...

  • @TheChcam
    @TheChcam Рік тому

    I used chatgpt to write sales pitches, google seo and custom minecraft plugins

  • @preuton
    @preuton Рік тому

    In case you did not noticed: there is a "copy code" button on the right corner.

  • @nedbog
    @nedbog Рік тому

    Seems that some junior positions may be obsolete...and Stack Overflow, yes.

  • @noorulamin2652
    @noorulamin2652 Рік тому +11

    Yesterday I used chatgpt to write me a SQL constraint which should allow only 1 field to exist amongst multiple fields in a row. And it generated a very perfect solution 😍

    • @brian8507
      @brian8507 Рік тому

      Select * from table
      Where 1=1
      And
      Sum(
      Case when field1 is not null then 1 else 0 end as logic1
      ...
      Case when fieldN Is not null then 1 else 0 end as logicN
      )
      = 1
      Is my solution better?

  • @yousafwazir3167
    @yousafwazir3167 Рік тому +1

    Looks nice

  • @briantep458
    @briantep458 Рік тому +1

    yes, YES it is. You have to just provide it very precise instructions

  • @_MoshikoAz_
    @_MoshikoAz_ Рік тому

    do you use it on daily basis ?

    • @WebDevCody
      @WebDevCody  Рік тому

      eh I try to once in a while, but often googling for the solution gives better results. The code examples are often old library versions which are not useful to my needs. But if you need general software advice, such as how do I make this code more decouple or how can I clean this code up, it'll do an ok job. I've tried pasting it code and told it to simplify this code. The code it generated was filled with bugs.

  • @xanider5098
    @xanider5098 Рік тому

    I made a program to help me at work with GPT. its simple and already exists but why not right?

  • @theburntcrumpet8371
    @theburntcrumpet8371 Рік тому +3

    This is amazing but it will encourage lazy developers. Having played with it myself, I spotted a case of a junior at the company I work for using it to generate code. The code they were having it generate was for an incredibly simple task and was buggy. It was just a static page that redirects if the user isn't logged in. Then when it came to writing tests he didn't have a clue because he didn't know how the code worked. I think if you're going to use a tech stack you should learn it enough to use it - then you can maybe think about having an AI do some of the heavy lifting for you. It took him a week to get this code out of it too.

  • @jitendraitankar
    @jitendraitankar Рік тому

    useful stuff...thank you

  • @stormrider22
    @stormrider22 Рік тому

    Use it on the daily. Saves me hours every day!

  • @TommyLikeTom
    @TommyLikeTom Рік тому +1

    I haven't actually used this yet, but I have tested it and it seems to be a good helper but not the best coder. Like you need a coder to understand and fix the code. I'm busy finishing my animation work but I'm going to code my new website with this, and then I have another freelancer website job after that. I can't wait to use this tool, because sometimes I just need 1 line of code that I can't think of. Imagine how useful this is going to be to expert coders

    • @devonpmack
      @devonpmack Рік тому

      You can actually ask it about problems in the code and ask it to fix them.

    • @jendabekCZ
      @jendabekCZ Рік тому

      @@devonpmack And it mostly say "sorry, here is the fixed code", giving you the same or even worse nonsense.

  • @gytispranskunas4984
    @gytispranskunas4984 Рік тому

    Yes, now we need to rethink our methods. Now we need to learn how to form questions so that A.I can understand us better.

  • @LukeAvedon
    @LukeAvedon Рік тому +2

    I found it helpful for ideas and tests, but the fact that it gives you only one answer -- in a very confident way -- makes it less helpful than stackoverflow usually. CoPIlot maybe increased my efficiency (1 - 2% - which is a big deal and worth $10 a month. ChatGPT maybe 5 - 8% increase in developer efficiency? Which is huge but still overhyped.

    • @duncanfromunderthebridge
      @duncanfromunderthebridge Рік тому

      If you think it’s overly confident in its first answer, you can ask it to give you alternatives and it usually will give you something pretty useful. I often ask it to do things in python, and it will give me an answer that uses a package I’m not familiar with or am not using in the current script, so I ask it to redo the task using only specified libraries. It’s saved me tons of time just in my first week or so of using it.

  • @upsilan_mitstrima
    @upsilan_mitstrima Рік тому

    chatgpt is better for things that you cant google, so like.. you can use google to find how to generate a random number (for example) but its kinda hard to google how to make a program that does multiple functions (i cant think of a good example)

  • @WhiteSiroi
    @WhiteSiroi Рік тому

    awesome, ty

  • @0xtz_
    @0xtz_ Рік тому +2

    Note totally, I was testing and it doesn't know about things like creating a next.js project... But it's amazing 😂

    • @0xtz_
      @0xtz_ Рік тому +2

      @@YourExecellency 😂 wtttt but the ai is good if u asked question I use it to write emails 😂

    • @0xtz_
      @0xtz_ Рік тому +1

      @@YourExecellency bro 😂, now gonna start giving it my tasks and I chill 😂😂😂😂

  • @ahmedjaber8595
    @ahmedjaber8595 Рік тому +3

    I do my programming and math homework with it and my teachers are surprised because my answers are perfect
    this is good and bad as the same time

    • @WebDevCody
      @WebDevCody  Рік тому +26

      Careful, you’ll graduate and have no clue how to do anything for yourself

  • @Firzj
    @Firzj Рік тому

    Are they going to monetize this tool in the future? I'm afraid I won't be able to afford it 😓

  • @thenooiler5345
    @thenooiler5345 Рік тому

    using this and github copilot you can do everything

  • @webdavis
    @webdavis Рік тому

    It’s really useful for spiking. What’s surprising is that you can give it some code and tell it to rewrite adhering to SOLID principles. It makes mistakes but maybe it won’t in 10 years? 🤷‍♂️

    • @WebDevCody
      @WebDevCody  Рік тому

      yeah I think in a few years it'll be at a point where I'd use it a lot more

  • @AkashBhayekar
    @AkashBhayekar Рік тому

    StackOverflow is gonna get existential crisis

  • @michaellight2211
    @michaellight2211 Рік тому

    These video on real world uses of ChatGPT are excellent. I don't see this replacing Devs, rather taking them to new more advanced levels in their own knowledge and speeding the time it takes to complete client work. For websites for instance. the art can be quickly developed for the client in a few minutes with something like Midjourney, presented, and the code itself accomplished in 25% of the time.
    The possibilities are endless for a direct assistant in almost any genre. It would be so cool to pipe it through a voice like Jarvis and have it live in the garage. The amount of application this introduces is a boon as well. Developers are about to have a renaissance!

  • @GigaChadL337
    @GigaChadL337 Рік тому +1

    So glad I did not choose to be a programmer, chatgpt, codex, copilot simply make all your programming experience almost nothing
    I just learnt coding for a weak and I already wrote a few programs and using them on my work

  • @zoran123456
    @zoran123456 10 місяців тому

    I am trying to make it work for generating code for PI generation up to 100 decimals, or to generate simple crossword generator. Those are more complex examples that should greatly benefit from AI helper, however it is failing miserably. I even tried with gpt4, no help. It produces total garbage. On some easier tasks it excells, but those tasks are not very hard to implement. So currently it helps, but not much.

  • @WhyDoThat
    @WhyDoThat Рік тому

    Trying to figure out if I can get it to rewrite shitty code

  • @Richrider85
    @Richrider85 Рік тому

    good for inexperiences devs, but with more experience it actually makes me slower. the difficulty in my job is not the coding part, it is understanding the business and existing code base and how to integrate an efficient solution in a running ecosystem. i dont see any AI taking this over in my lifetime, as it would be required to parse all companys code and have meetings with the stakeholders.
    also some commenters should stop the fear mongering. read a bit about information retrieval, nlp and of course ml and you will quickly notice how such systems are designed to fail for anything more specific than the generic software product which is explained on hundreds of tutorial websites

  • @TheOneHong
    @TheOneHong Рік тому +1

    just use a adblocker for youtube

  • @Cyb3rByt3
    @Cyb3rByt3 Рік тому

    Just wanna tell you that there is a "copy" button in the top right corner so you don't have to manually select the code.

  • @maskman4821
    @maskman4821 Рік тому

    You didi a terrific job! I didn't type such long prompts, I make it shorter because I don't want to overwhelm and confuse AI. You just demo how good openAI is, I will do like that next time, thank you for this fantastic tutorial 🤩

  • @closetothee3785
    @closetothee3785 Рік тому

    Asked ChatGPT how to detect carriage return in a pdf file and it gave me crap. Asked how to call javascript from Power AutoMate, it gave me an answer that seems good.

  • @LesssThanAverageJoe
    @LesssThanAverageJoe Рік тому

    You still have to understand coding to get the most out of it, but it does lighten the load.

  • @rolandbistrischi5178
    @rolandbistrischi5178 Місяць тому

    I use IT to make functions who interogate the database.

  • @moezdaoudi9501
    @moezdaoudi9501 Рік тому

    it helps but it doesn't give you everything, there's always a bunch of bugs that needs to get fixed but overall it's helpful

  • @TW-lt1vr
    @TW-lt1vr Рік тому

    I like it for writing redundant and basic skeletal code, for now, but I'm probably going to be pretty damn upset if it eliminates my career due to the aspirations of my own kind.

  • @jimhawkins2483
    @jimhawkins2483 Рік тому +1

    So what is the final conclusion, can this thing take over junior dev in nearest future?

    • @WebDevCody
      @WebDevCody  Рік тому +7

      Nah I think it would be more of a tool that could help junior devs deliver value quickly. Instead of a junior spending 8 hours trying to figure out a simple function, gpt could give them a potential solution for a junior to review and try to use in their development. I need to play with it more, but it would be hard to use gpt for a large scale software system and expect it to correctly understand all the buisness rules related to the system

    • @jimhawkins2483
      @jimhawkins2483 Рік тому

      @@WebDevCody many thx for the answer)

    • @jm1835
      @jm1835 Рік тому +2

      Yes it can and will. AI will replace most jobs sooner than later.

    • @jm1835
      @jm1835 Рік тому +2

      It is already causing chaos in schools/universities, as it's difficult to prove if an essay is written by AI. Digital artists are facing existential questions, when AI can instantly create complex artworks through simple prompts which would usually take days and weeks to draw by hand. Lots of game dev studios already using AI to create vast asset libraries... List goes on and the trend will only increase

    • @gidmanone
      @gidmanone Рік тому +1

      I believe developers are in denial

  • @zlatkoiliev8927
    @zlatkoiliev8927 Рік тому

    You are using TS, and TS allows js, but not jsx. You simply had to change the file extension.

  • @bennyskim
    @bennyskim Рік тому +1

    It wrote in the old Promise syntax, not async/await style... and other weirdness. Actually it just chooses whatever random syntax it pulled the text from (Leetcode submissions thats why all the hash maps? 😂). It seems that in real life coding styles change faster than the amount of data needed for AI to stay current & modern.
    I couldn't use it because it typically takes longer for me to find/update outdated syntax, or consolidate shared logic, etc. than to write new code. Also in my limited experience with ChatGPT it usually gets code wrong. ChatGPT would be worse than using an overseas agency because it literally does not care whatever it spits out, even if the code works it won't necessarily follow the style set forth in the other files, and so-on.
    Because React is made for humans, and a lot of people use React, it's easier for ChatGPT to find React sources than say canvas drawing UI or something lower level, but it's too bad because AI could do a lot more with less expressive ability. But fundamentally I just doubt that a chat bot is the best platform to build an AI coder. Their chat interpreter is really good, but needs to be paired with a better thinking apparatus than scanning the web.