• fidodo@lemmy.world
      link
      fedilink
      English
      arrow-up
      63
      arrow-down
      1
      ·
      6 months ago

      The difference between a junior and senior developer is that a senior developer actually understands what he’s copy pasting

      • Potatos_are_not_friends@lemmy.world
        link
        fedilink
        arrow-up
        9
        ·
        6 months ago

        Pretty much. I try to tell juniors that the things I’m teaching you is things I made a mistake on. I have a decade of failure and I’m trying to help you shortcut it.

        • hardcoreufo@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          6 months ago

          That approach never sinks in with anyone I train. They seem to remember that I told them something about something so they do that not remembering I said not to do that.

      • dan@upvote.au
        link
        fedilink
        arrow-up
        8
        ·
        6 months ago

        I’m a senior developer and I rarely copy and paste… I’ll sometimes look at some other code to get ideas, but I retype it. It helps me understand the code, and I can refractor it or write it differently as I go.

      • LemmyKnowsBest@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        6 months ago

        But who’s the guy that originally wrote the code that everyone else is copy pasting? I think Nathan Kellert desires THAT level of expertise.

    • blackbirdbiryani@lemmy.world
      link
      fedilink
      arrow-up
      16
      arrow-down
      1
      ·
      6 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
        arrow-down
        1
        ·
        6 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
          ·
          6 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?