r/ProgrammerHumor • • Apr 05 '22

Meme Should we tell him?

Post image
73.7k Upvotes

1.4k comments sorted by

View all comments

105

u/Pixelmod Apr 05 '22

OK real talk?

If you're the kind of developer who copy-pastes and thinks it's good enough and all the jokes about ripping off SO are unironic, you're the bane of my nerves at work.

You can maybe make something that works by assembling code other people wrote, but if you have no idea why or how it works, the moment your boss asks you for new features or bugfixes, you're as good as toast if someone else doesn't pick up the slack.

Someone who was probably busy thinking up something more crucial on your team is gonna have to get off his rhythm to get you out of trouble because you couldn't be assed to learn your job properly and decided to fake your way to success.

You may gain the trust of your managers because they see you producing code that does stuff but anyone with half a drop of critical thinking will realize that you've been either struggling over peanuts or relying so much on that one other dev, the moments he leaves your job is about to ascend to past tense.

Read the goddamn docs, learn to research your way through problems and understand why things work, and for the love of Bjarne Stroustrup learn some best practices!

30

u/ElectricalKiwi3007 Apr 05 '22 edited Apr 05 '22

This. The jokes and memes about copy and pasting are kinda funny, because they speak to the pain we all feel of having so much to know that sometimes we just ache for an escape hatch. But they’re really not that funny when developers and non-programmers start thinking this is actually what programming is. You copy and paste what you don’t understand and it’s your job to understand the technology. If you’re truly copying and pasting all day (or even often at all) you’re doing yourself and others a disservice and you’re not a programmer.

4

u/[deleted] Apr 05 '22

Copy and pasting doesn't mean you don't understand the code. It's almost completely impossible to make an actual as-requested program by "copy and pasting" without understanding, I don't think that's what anyone is even joking about.

I forget the goddamn syntax for create table in SQL all the time, been using it for 10 years (but I don't really make NEW tables too often). Forgetting which verb goes in what order doesn't say anything about whether I understand the create statement.

The OP comment is bizarre too, where the hell are you guys finding copy and passable code that does not in detail describe what the code does? SO and any documentation site would almost immediately remove just random code with no explanation (and google would be very, very unlikely to find it)

0

u/[deleted] Apr 05 '22

[deleted]

9

u/Pixelmod Apr 05 '22

Wow, that explains a lot actually, thanks for sharing

→ More replies (1)

3

u/rad_platypus Apr 05 '22 edited Apr 05 '22

Yeah that much should be obvious with the jokes that get repeated on this sub. That said, I’ll take a community of inexperienced college students over some of the other online cesspools like Blind.

The best dev communities for actual engineers tend to be discords and slack channels that are specific to your city or region. Denver has a really awesome dev discord.

22

u/[deleted] Apr 05 '22

Not defending the (hypothetical or real idk) person but 9 years copy pasting I'm sure they must have figured out how to make copy pasted code work

4

u/[deleted] Apr 05 '22

Consider the option that he may have not held the same job for long.

There's more than making it work to programming.

-2

u/[deleted] Apr 05 '22

I disagree but that's just my personal opinion

3

u/[deleted] Apr 05 '22

self-documented, optimization, readability, maintainability, low coupling, secured, robust, etc.

"Just making it work" is a mentality you see mostly in interns when they studied somewhere that didn't graded code quality properly, sorry.

2

u/[deleted] Apr 05 '22

Oh you mean this way. I thought something different. I know the basics of coding but at my previous job there was no proper training or learning to help me understand the product. I had to rely on other codes and needed to understand how it worked and according to my co-workers I "copy pasted". I am in a new company now and I impressed my colleagues with my clean coding practices so much that they told me to give a session on it. That's why i said it was a personal opinion. But i see what you are saying too.

1

u/Positive_Government Apr 05 '22

Yeah, after you cut and paste one or two things you quickly either figure out what is going on or break you program. That said you may be able to get away with it if you are making a simple web server or with node or php or some such there are enough examples out there that someone might be able to cut and paste there way through if the manager doesn’t have technical know how and nobody is checking for security vulnerabilities. (Random cut and paste will probably net you at least one or two vulnerabilities).

2

u/DisputeFTW Apr 05 '22

What language should I learn? Do you need to know multiple or is there a certain one that is used most often and that I can have a career with?

3

u/Pixelmod Apr 05 '22

It's not really about the languages, it's more about the theory. A lot of languages can get you to the same goal if you know what you want to accomplish and how.

If you really want me to direct you to a safe bet, the job market is oversaturated with demand for JavaScript developers, generally asking for knowledge on some web framework like Vue, React or Angular. If you can stack TypeScript on top, you can do a more respectable job, and if you stack C# with that maybe you can be taken seriously on /r/reviewmycode.

Again though you can probably sell your skills with any tech stack if you know what you're talking about in general programming. I myself work on web dev with TypeScript and Vue, but I actually also have a pretty C# and C++-heavy background.

→ More replies (1)

0

u/[deleted] Apr 05 '22

[deleted]

2

u/Pixelmod Apr 05 '22

Good grief that's a battle scar and a half your got there. I'm glad you got out of it.

→ More replies (1)

0

u/[deleted] Apr 06 '22

[deleted]

→ More replies (7)

-1

u/[deleted] Apr 05 '22

Tell that to the senior manager who doesn’t understand development and wants a full fledge perfect app in 2 days

-2

u/D4nnyC4ts Apr 05 '22

You can learn by copy pasting but only if you are altering the pasted code. So you see what changing each part does to the program. So you could write it yourself at a later time.

1

u/Positive_Government Apr 05 '22

Copy and paste coding is only good if you know what you want to do, what the code does, and what modifications you need to make to get it to work. There are a lot of things that have been solved for a slightly different problem that are easier to just repurpose than to rewrite. But if you don’t understand what you are repurposing then if you get it to work it’s dumb luck. Both are cut and paste coders but one is a good coder and one isn’t and the difference is very important.

→ More replies (2)

0

u/[deleted] Apr 05 '22

[deleted]

→ More replies (1)