Beware of AI Coding Assistants | GitHub Copilot vs JetBrains AI

Поделиться
HTML-код
  • Опубликовано: 28 май 2024
  • As promised I compared the most popular AI Coding Assistant Tools: GitHub Copilot, JetBrains AI Assistant, Duet AI. However, while performing the test I realized that I had something more important than telling you that I prefer GitHub Copilot over the competition: *there are some features you should avoid from these tools*. Watch the video to get to know more!
    🤓 More details on my website: 🤓
    marcolenzo.eu/github-copilot-...
    🤝 Connect with me: 🤝
    / marcolenzo
    👌Get a CodeCrafter Discount 👌
    app.codecrafters.io/join?via=...
    🍕 I've got an Italian accent 😅
    If you have trouble understanding me, activate the closed captions! They are manually corrected.
    #githubcopilot #ai #softwaredeveloper
    0:00 GitHub Copilot vs JetBrains AI
    2:25 Should you prompt the AI?
    4:03 Should you use Test Autogeneration?
    4:55 Explain code and Simplify Code
    6:22 Final Thoughts on AI Coding Assistants
  • НаукаНаука

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

  • @MarcoLenzo
    @MarcoLenzo  3 месяца назад +2

    Do you use an AI Coding Assistant? If yes, which one!

    • @marthalindeman375
      @marthalindeman375 2 месяца назад

      Check out Pieces for Developers, which is free for individuals and does much more than GitHub copilot and JetBrains with fewer errors. If you test it, I think you will see the difference.

  • @modgeosys
    @modgeosys 2 месяца назад +3

    As a multi-decade developer myself, I can honestly say this is one of the best articulations of the power and limitations [for now and the near future] of AI coding assistants I've seen so far. Bravo!

    • @MarcoLenzo
      @MarcoLenzo  2 месяца назад +1

      Thank you! Really appreciated 🙏

  • @jorgegatica
    @jorgegatica Месяц назад +1

    You're absolutely right.
    I comment on my case as a reference. The 'AI Assistant' TRIAL autocomplete was suggested as I typed, so all good. When I hired him, he didn't, and just like Marco says, you have to give him very, very specific instruction, and then he writes a lot more than you asked for, so you have to be reviewing a lot.

    • @MarcoLenzo
      @MarcoLenzo  Месяц назад +2

      It's hit and miss. Sometimes it can be helpful. Other times it ends up being distracting.

  • @sanderschat
    @sanderschat 2 месяца назад +3

    Great great mindset. I had the same feeling.
    AFter the first 'Wooow', i slowly started to realize these tools are by far not perfect. And will create more errors if you dont know what you are doing (as a junior)
    But as you said, the 'simplify code' is a great way of learning or realizing new ways of coding.
    Ai coding, for now, is a supplement. Not a complete meal.

  • @slimyelow
    @slimyelow Месяц назад +1

    There is no better regex companion than straight up 3.5 GPT. She was my coding partner all week and I was productive like never before. - I luv my GPT

    • @MarcoLenzo
      @MarcoLenzo  Месяц назад

      Sounds like you're having fun coding 😊

  • @supercurioTube
    @supercurioTube 2 месяца назад

    Wise words and well put.
    The experience can range from really pleasant and a huge boost when a model is very good at a language (like in Python) to a complete drag when generating code by prompting on what a model is not very competent, like what I'm evaluating at the moment for Zephyr RTOS.
    It's C, but all models I've found are trained on old codebases and a lot changed since it's so the generations don't use the right approach and don't compile without spending a lot of time fixing them.

    • @MarcoLenzo
      @MarcoLenzo  2 месяца назад +1

      Thank you 🙏
      You reminded me something I didn't mention in the video that puzzles me.
      Many believe AI will sooner or later perform most of the coding, while engineers will focus on problem solving. However, who is going to create up to date codebases that use the latest patterns, frameworks, and languages which are necessary to train properly these LLMs?
      I can imagine many scenarios. However, I still think real coding skills will continue to pay off, possibly even more than today if they become rarer to find.

  • @MikeOlivera
    @MikeOlivera 3 месяца назад +2

    Thanks for sharing! i wasn't sure if test Jetbrains AI. I will keep with GH :)

    • @MarcoLenzo
      @MarcoLenzo  3 месяца назад +1

      Thank you! I'll try to share a more detailed report of the comparison on my website and link it here.

    • @MarcoLenzo
      @MarcoLenzo  3 месяца назад +1

      And here it is: marcolenzo.eu/github-copilot-vs-jetbrains-ai-assistant-vs-duet-ai/

  • @Kust0r
    @Kust0r 3 месяца назад +2

    Hi there professor! Wow what a pro presentation here!
    It seems to me them have somehow the same limitation for everything AI stuff today, and it's reassuring in a way. Is this the dawn of a forthcoming future of dreadful apps/software?

    • @MarcoLenzo
      @MarcoLenzo  3 месяца назад

      Something I was discussing today with my colleagues at work is that Test Driven Development is even more important now.
      If you autogenerate code at the very least you would know it's satisfying a test case you crafted. I'm actually surprised there's no such functionality yet and it's inversed. The assistant can generate the test from the code. I think that's the wrong premise. The test should define the result we expect so we should make sure to have at least that one vetted closely before we start trusting what the AI assistant creates.
      By the way, long time no see sir! Hope all is well!
      Un abbraccio!

  • @iggykarpov
    @iggykarpov Месяц назад +1

    Ciao Marco. Mi piace molto questa spiegazione e mi sono appena iscritto al tuo canale. Grazie mille!

    • @MarcoLenzo
      @MarcoLenzo  Месяц назад +1

      Grazie mille a te! 🙏

  • @OlegZhuravel
    @OlegZhuravel 3 дня назад

    Thank you very much for your info.

  • @NehezTheWrackful
    @NehezTheWrackful 2 месяца назад +1

    As long as u are in a project u are permitted to send the code on M$ servers :). But for private projects is quite nice.

    • @MarcoLenzo
      @MarcoLenzo  2 месяца назад

      Yeah there are some extra security features if you use the version for business. However it is a delicate topic and I can see there's concern about involuntarily exposing private codebases by using these tools.

  • @ramielkady938
    @ramielkady938 16 дней назад

    I want to ask you a questions, do tech leads spend most of their time "writing code" or "reviewing code" ? you are welcome.

    • @MarcoLenzo
      @MarcoLenzo  15 дней назад

      It's a very good question which unfortunately it's difficult to answer because heavily dependent on the context where the tech lead operates. I think culture and the size of the team are two important factors.
      If we talk about a tech leads operating in a single development team, my opinion is that they should code. I would prefer that they lead by example by writing code, defining the architecture of the application and making sure it is respected (mostly through automated tests, e.g. ArchUnit).
      If we are talking about a team with mostly junior developers, I still wouldn't want them to work as gatekeepers by approving merge/pull requests. I'd rather suggest they favor collaboration with peer / mob programming techniques, i.e. they write code with other team members rather than acting as a supervisor or safety net.
      I would also put more emphasis on automated testing. The confidence of merging code to trunk or develop branches should come from testing and not code reviews.
      For what concerns a tech lead that operates across multiple teams, I'd expect his main concern would be defining macro-architectural rules and ensure the overall sanity of the larger system. That would be still more pro-active that review code after it is written. Usually, that's too late and any request for rewrite will cause friction.
      Hope this helps!

  • @uhuebner
    @uhuebner 2 месяца назад +2

    Man, your mic is clipping as hell. I suggest you turn it down a bit in your next videos.

    • @MarcoLenzo
      @MarcoLenzo  2 месяца назад +1

      Thanks for the suggestion. I didn't notice the issue until you told me.

  • @MrShaan-
    @MrShaan- 3 месяца назад +2

    Hi Marco Lenzo , you are doing very well with your video . No matter how great your video is, you will get NO views if you have not done the proper SEO & keyword research for your title, description, tags, and more. do you wanna know more about this ?

    • @MarcoLenzo
      @MarcoLenzo  3 месяца назад +1

      You can contact me on LinkedIn / X or hit me by email

    • @MrShaan-
      @MrShaan- 3 месяца назад

      @@MarcoLenzo can i get your email'''?

    • @MrShaan-
      @MrShaan- 3 месяца назад +2

      @@MarcoLenzo i have done to mail you bro

  • @bobbastian760
    @bobbastian760 Месяц назад +2

    Bro, stop rolling your 'r' in English, this makes it EXTREMELY difficult to listen to what you're saying.
    It's a simple thing you can do to improve your English by literally 50%.
    If you do this it will really help your channel trust me 👍

    • @MarcoLenzo
      @MarcoLenzo  Месяц назад

      Believe me I had no idea that in English the R is not rolled 😅. I just looked online and effectively it's as you said. Thanks for the tip. I'll try to practice it.

    • @iggykarpov
      @iggykarpov Месяц назад +1

      @MarcoLenzo Marco, parlerò solo per me, ma il tuo inglese è eccellente: ricco, professionale e molto chiaro. Il tuo accento italiano è un piacere extra per me. Non cambiare nulla!

    • @MarcoLenzo
      @MarcoLenzo  Месяц назад +1

      Troppo gentile 🙏