910
submitted 5 months ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 98 points 5 months ago

As funny of a joke "all programmers copy and paste" is, after 9 years that impostor syndrome should be gone, and if you still can't figure out a solution without copying and pasting, maybe it is time to go back to the basics and learn how to code.

[-] [email protected] 64 points 5 months ago

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

[-] [email protected] 10 points 5 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.

[-] [email protected] 1 points 5 months ago

But as soon as someone gets to an intermediate level and start thinking for themself and make those exact same mistakes.

"We've been doing things wrong this whole time! I figured out a better way!" Then spend a lot of time implementing the "better" way only to find out it performs like shit and actually takes more work to implement and maintain anything.

Everyone has to do that at least once.

[-] [email protected] 1 points 5 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.

[-] [email protected] 9 points 5 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.

[-] [email protected] 3 points 5 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.

[-] [email protected] 17 points 5 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.

[-] [email protected] 8 points 5 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 🤷🏻

[-] [email protected] 5 points 5 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?

[-] [email protected] 3 points 5 months ago

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.

this post was submitted on 29 Mar 2024
910 points (97.1% liked)

Programmer Humor

32050 readers
1838 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS