Writing Code with AI in VSCode (GitHub Copilot)

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

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

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

    Join the newsletter! calcur.tech/c-cpp-newsletter

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

    as init development any software finding and searching and learning from anywhere but nowadays everything is based on ai
    // this message is also typed by ai

  • @majik895
    @majik895 9 месяцев назад

    I am a coder but I am not familirt with certian libraries and I want to use them with AI like greenstock.

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

    Great content! Thanks)

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

    Can it be used in normal visual studio? Or only vscode?

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

      Yes, definitely it can be used in visual studio

    • @Sohailkhan-zw1gl
      @Sohailkhan-zw1gl Год назад

      Only in vscode insiders , not to mention u need an active copilot subscription for that , and then u can apply for copilot X , i applied in March and got the access to in mid June

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

    After using copilot for a few weeks now, I have to say I am not impressed. The examples you showed are indeed neat, because they save me a trip to the google machine to get the same, and that definitely helps, but overall 'actual' use cases that I have come across feel very different.
    Let me elaborate a little. In many cases, the suggestions for your current need seem to be compiled from the file you are already in, i.e. its looking for a pattern, so if you have a large file (which is bad for other reasons) and you have other similar situations already, copilot will probably come up with something that is useful. If you are starting with an empty file, and you need something relatively custom to the page, copilot generally spits out either non-sense, or something that has a lot of errors in it, or is just factually incorrect. The downside of that is, not every level of engineer will be able to tell if this is wrong or right (i.e. Understand your own code, no matter the source), so that can cause some issues.
    Its maybe implied, but to state it specifically, copilot is good at generic helper/support functions, like the once you showed. Do you want to iterate over all properties of this class? Yep, it knows how to do that...all states of [country], it sure can do that too...capitalize all letters? You betcha. Just saving you a google moment, which is probably valuable in some cases.
    Now, lets go the other route...copilot can also write unit tests, which you didn't mention...but the same from above is also true...if you have a well established unit test file, copilot can do OK to an extend...but I am always negatively impressed when copilot takes your promt and not the actual function implementation to generate the suggestion...for example, if you say 'test('save employee', {' then copilot will try to find a common way employee's are saved, but not take the implementation of your 'saveEmployee' method, which is odd to me...also, it does slow down the testing in those cases (I will turn off automatic suggestions like you showed because of that).
    So...all this to say, copilot seems a lot nice on the surface than it actually is once you start using it, and I found that the overall time-saving ability is not really there yet...but I have hopes that it will get better, after all that is what AI is supposed to do.
    Thoughts?

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

    oh wow..that's cool..

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

    Nice!

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

    The 12h if i get paid by the hour made me laugh