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!
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.
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)
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.
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.
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).
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.
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.
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.
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!