Github Copilot vs. ChatGPT: Which one should you use, and when?

Поделиться
HTML-код
  • Опубликовано: 18 дек 2024

Комментарии • 56

  • @gillesashley9314
    @gillesashley9314 Год назад +10

    This is definitely a good video. I use copilot to generate the codes, when I do not understand the codes, I let ChatGPT do the explanation.

    • @DoingItWithAI
      @DoingItWithAI  Год назад +2

      It's a great combo. Check out Copliot Chat for VS Code. It brings these concepts together into one spot, and really streamlines the context switching between the two services. Thanks for watching!

  • @maverickmace9100
    @maverickmace9100 Год назад +2

    Im learning powershell atm. Copilot is incredible. It's like it reads my thoughts when it wants to auto complete

    • @DoingItWithAI
      @DoingItWithAI  Год назад

      Couldn't agree more - - it's eerily good. But that's the beauty of LLMs, they're designed to anticipate what comes next.

  • @aar021
    @aar021 Год назад +1

    Best Copilot overview at the moment. Thank you 🙏

  • @What_iF_X7X
    @What_iF_X7X Год назад +1

    But does Copilot work with Remix for Ethereum, Polygon, BSC etc?…

    • @DoingItWithAI
      @DoingItWithAI  Год назад +1

      I don't know about integrating Copilot with the Remix IDE, but there does appear to be a Remix extension in VSCode, so maybe if you load that in with Copilot already installed it would have some value. Worth a shot? I know people are using Copilot to generate tests for contracts, but that's all out of my wheelhouse so I'm not gonna be much help beyond that. Sorry about that.

  • @sharulhafiz6312
    @sharulhafiz6312 Год назад +1

    Your keyboard sounds and feel smooth, which mechanical is that? Thanks for the video

    • @DoingItWithAI
      @DoingItWithAI  Год назад

      You're welcome! I'm using a Logitech MX Keys, non mechanical. It's a great keyboard especially if you have multiple devices, as it has its own built-in KVM switch (minus the video and mouse, of course).

  • @anthonyapodaca1332
    @anthonyapodaca1332 Год назад +2

    Great Video! Interesting on how you can leverage both techs to get you where you need to go.

    • @DoingItWithAI
      @DoingItWithAI  Год назад +2

      Using ChatGPT to give me a place to start then iterating with Copilot's assistance has been my favorite approach in using these tools together. Glad you found it interesting, Anthony!

  • @HerrThomasE
    @HerrThomasE Год назад +1

    thank you very much for this detailed Video. it gives me very good anders Standing what Copilot is.

    • @DoingItWithAI
      @DoingItWithAI  Год назад

      You're very welcome. Thank you for watching!

  • @MrMorvar
    @MrMorvar Год назад +5

    Nice comparsion but I got a few questions:
    1. Does Copilot have up-to-date GitHub data access? ChatGPT fails to generate new ECS code for Unity game engine, as the API just changed into 1.0 a few months ago.
    2. Does it try to learn your whole project to try understand what's the whole thing about or are the solution offerings only based on the given prompt?

    • @DoingItWithAI
      @DoingItWithAI  Год назад +4

      Hey Morvar. Thanks for watching. Here's my understanding in terms of the questions you asked:
      1. Copilot was trained on public code. My assumption is that it continues to be trained on public code, but I'm not sure at what cadence or level of recurrence that training is taking place. That's not something they have disclosed.
      2. Copilot currently doesn't scale in that way, i.e., it doesn't understand your codebase as a whole. It only provides suggestions within the context of the file you're currently working on.

    • @Mpanagiotopoulos
      @Mpanagiotopoulos Год назад +1

      @@DoingItWithAI Is there any AI application that understands the whole codebase or at least a way for ChatGPT to handle bigger questions in reference to huge codes.I think if chat GPT can read and proccess files like .py and according to what he reads can give you code specific for your problem,that would be great

    • @DoingItWithAI
      @DoingItWithAI  Год назад

      @@Mpanagiotopoulos I'm not aware of anything that can read entire projects/codebases and understand them contextually yet. I'm sure that's coming but right now things are more piecemeal.

    • @Mpanagiotopoulos
      @Mpanagiotopoulos Год назад

      @@DoingItWithAI When I wrote this comment GPT-4 was not released.Now I updated to GPT-4 and it takes up to 25.000 words,which is great and way better at coding.Although it still can't read files as this would require unimaginable computing power to handle million requests simultaneously, but I guess this is coming sooner or later.Definitely the next 2 years are going to reshape industries with all these rapid advancements in AI!

    • @JoaoVitor-gm2yf
      @JoaoVitor-gm2yf Год назад

      @@Mpanagiotopoulos They announced copilotX, which is basically copilot that "sees" all of your current project files on VSCode + a chat tab on the side that you can also talk to. I dont think its available yet, but it looks amazing

  • @dsrichmond
    @dsrichmond Год назад +1

    Very cool stuff! And you were right before correcting yourself - parameters are just called parameters. Nouns are the 2nd part of the Verb-Noun format of cmdlet names.

    • @DoingItWithAI
      @DoingItWithAI  Год назад +1

      Thanks for watching, David. Can you tell I don't spend a lot of time with PS? 😂

  • @artem_morozov
    @artem_morozov 6 месяцев назад

    Copilot still better then ChatGPT 4o? I still can't choose which one should I use. I really like chatgpt 4o for coding and hate 3,5.

  • @tmszcncl
    @tmszcncl Год назад +1

    Great video :) Do you think it is possible to use both copilot and tabnine? I tried it in rubymine, but I had a feeling that tabnine just was not working at all (there were only copilot's suggestions). Maybe it does not make sense :)

    • @DoingItWithAI
      @DoingItWithAI  Год назад +1

      Good question, Tomasz. I would say use one or the other. My guess is that they'd be fighting each other given they do the essentially the same things. My next video is going to be on Copilot Labs, which is an additional extension for VS Code that makes Copilot substantially more powerful. You might find that that solves your needs. Thanks for watching!

    • @tmszcncl
      @tmszcncl Год назад +1

      ​@@DoingItWithAI Thanks for the answer. I will stick with copilot for now - somehow I like it better. I already tried this copilot labs with vs code and I'm a little sad that there is no version planned for jetbrains products. But hopefully there will be something similar in the future :) Looking forward for your video about it :)

  • @elitehaxxor8025
    @elitehaxxor8025 Год назад +1

    The AsPlainText parameter doesn't actually store your password as plain text, it means that the cmdlet is accepting plain text as input for the parameter which will then be converted to the System.Security.SecureString type. AI is amazing though, it's unfortunate that people think it's going to be the downfall of development though.

    • @DoingItWithAI
      @DoingItWithAI  Год назад

      Yeah, my point was you'd have to store your password in the script as plain text, which I wouldn't recommend necessarily. I do appreciate the clarification on your part for my viewers, though!

  • @hmdz150
    @hmdz150 Год назад +2

    I just finished a python module that includes 6000 lines of code in less than 3 hours using CoPilot. Before than, I was using ChatGPT and the process of copy pasting comments into Chat GPT prompt and back was really slow. Also, the code frame in ChatGPt web interface is limited and beyond a line it breaks the code out of that frame and mess everything up.
    Without Copilot my project would take days, if not weeks, to finished due to the huge amount of code I had to type (repetitive tasks)

    • @DoingItWithAI
      @DoingItWithAI  Год назад +1

      Try Copilot Chat. It takes all the conversational stuff from ChatGPT and brings it straight into the IDE. Huge time saver compared to going back and forth between ChatGPT and your IDE. My next video will be on this topic. Couldn't agree more with your point, though - - Copilot is amazing for the work you described.

  • @prashantvedpathak3067
    @prashantvedpathak3067 Год назад +1

    Thanks for showing new things in AI.... Co-Pilot is amazing no doubt.... I will definitely try this!!!

    • @DoingItWithAI
      @DoingItWithAI  Год назад +1

      Thanks Prashant! Let me know what you think. I use it everyday now, it's an amazing tool to boost productivity.

  • @CinemindParadox
    @CinemindParadox Год назад

    Was this 3.5 ChatGPT or 4.0? Free version or have you paid for it?

  • @chikosan99
    @chikosan99 Год назад +1

    Great!
    does can help with refactoring code ?

    • @DoingItWithAI
      @DoingItWithAI  Год назад +1

      Great question! I think you could say that it has the potential to help with refactoring, since it can suggest different patterns to accomplish the same output. As far as being able to tell it to refractor a code block, I've never tried that, but I'd be very curious to give it a shot!

  • @Rex88282
    @Rex88282 Год назад +1

    Yes is helpful ! I use it ! Nice video ! Codex also awesome.

    • @DoingItWithAI
      @DoingItWithAI  Год назад +1

      I agree, Codex rocks. Thanks christos!

  • @CaptainSpoonsAlot
    @CaptainSpoonsAlot Год назад +1

    i think you meant to say ctrl-enter

    • @DoingItWithAI
      @DoingItWithAI  Год назад

      Oops! Probably so. Thanks for the heads up.

  • @caty863
    @caty863 Год назад

    The pricing model of Copilot ($10/month) is awful for occasional developers. They should have options, including paying by number of suggestions made to you.

    • @DoingItWithAI
      @DoingItWithAI  Год назад

      Agreed. I use this probably 15 days out of every month. Would be nice to have some cheaper options.

  • @orion33
    @orion33 Год назад +1

    Maybe for VS Code it works fine, but for VS Community it's just awful. It's terribly slow, inserts code in the middle of the page absolutely breaking syntax. So all in all you get absolutely nonfunctional code. I asked to draw a five-pointed star using SharpDX.Direct2D1 😆

    • @DoingItWithAI
      @DoingItWithAI  Год назад

      Good to know. I haven't tried Copliot with full VS so I appreciate the insight. Thanks for watching!

  • @labibchy9293
    @labibchy9293 Год назад

    23.25 is the point you are looking for

    • @DoingItWithAI
      @DoingItWithAI  Год назад

      Sorry that you didn't find more value in the video as a whole. I'm still new at this, hopefully I will get more concise over time. Thanks for watching!

  • @user-gy4xp2tu6f
    @user-gy4xp2tu6f 28 дней назад

    Chatgpt>Copilot. so many censored words in copilot even if they're not really obscene

  • @chandywerks
    @chandywerks Год назад

    "...plugins for Vscode, Neovim, Visual Studio (if you're a full time developer)"
    I'm a full time developer and I use neovim. How much is microsoft paying you for these videos XD

    • @DoingItWithAI
      @DoingItWithAI  Год назад +2

      I hear neovim is great, but I'm not familiar with it. I've grown my career in the Microsoft space, and if Microsoft wanted to sponsor these videos I'd happily accept.