The Curse of Copy-Paste Code

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

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

  • @Epic_coding200
    @Epic_coding200 2 дня назад +13

    i think manually typing the code you are about to paste is still better, and helps us to know what exactly it is

    • @IvanToshkov
      @IvanToshkov День назад +4

      I do that too. Typing it is not mindless, it makes you think "why is this code here?", "what does it do?".
      Another thing that I do is to refactor the new code. First, the outside code will not match the coding style of my project. Refactoring will help with that. But more importantly, it allows me to understand the new code even better.

  • @krishnabishtube
    @krishnabishtube 23 часа назад +2

    I think the future of programming is potentially all copypasta

  • @Egon3k
    @Egon3k 2 дня назад +3

    1:50 no one EVER copy/pasted like this before :D

  • @iCookieScript
    @iCookieScript 2 дня назад +2

    Sadly, I am using hyprland, and I messed up something, and now copy paste is not working in my VS code :(

    • @しめい-l4m
      @しめい-l4m 2 дня назад

      time to move to (neo)?vim, I guess

    • @iCookieScript
      @iCookieScript 2 дня назад

      @@しめい-l4m I guess I have to learn quitting vim

    • @AndersBreg
      @AndersBreg 2 дня назад

      Did this video mean nothing to you?! 😮
      But in seriousness, you could take this as an opportunity to rewrite whatever code you want to copy, and maybe understand it better. Or just fix the error, and keep copying I guess. 😂

    • @iCookieScript
      @iCookieScript 2 дня назад

      @@AndersBreg I believe I still need to improve my understanding of code.

  • @What_do_I_Think
    @What_do_I_Think 2 дня назад +6

    Complete out of date. Copy and paste is already dead.
    Instead we now have AI tools, which in turn make us EVEN MORE stupid. And the good thing: It comes directly in your IDE, so more reason to be lazy and deliver even more crappy code!

    • @just4fun277
      @just4fun277 22 часа назад

      doesn't matter if it's Stackoverflow or AI chatbots you still copy pasting.

    • @What_do_I_Think
      @What_do_I_Think 21 час назад

      @@just4fun277 Basically yes, but it is worse, since KI suggests that some powerful mind has elaborated the details -- which is not so.
      You do not only search for an answer, but fill in your complete problem. When you search, you know that you must adapt it. A KI chatbot does that for you -- so the tendency is even more to just take it as it is.