• blackbirdbiryani@lemmy.world
    link
    fedilink
    arrow-up
    18
    ·
    7 months ago

    I’ve only been programming seriously (for work) in the last two years and honestly don’t get the copy pasting memes. I get copy pasting a 1-3 line terminal snippet sometimes, but idk how people are getting away without actually writing their own code.

    • pup_atlas@pawb.social
      link
      fedilink
      arrow-up
      10
      ·
      7 months ago

      I program professionally, and I copy paste all the time. The difference is when I copy paste, its 10-20 lines of code, not a line or two— and I’m not fishing for a solution to the problem. I already have the optimal solution in my head, and I am just searching for the solution I already know. It’s just faster than typing it by hand 🤷🏻

      • Alex@infosec.pub
        link
        fedilink
        English
        arrow-up
        5
        ·
        7 months ago

        I do this often. Not because I can’t do it myself or understand what I’m doing, but why would I write the exact same code when it has been done and pasted online a million times?

    • I only program non-seriously for work on occasions and I’ve rarely used copy/pasted code. Except maybe some of my own code because of using lazy logic trees to deal with variation in the data being processed. Doesn’t need to be pretty or efficient. Just needs to work well enough so I do a less manual work.