@force@lemmy.world
link
fedilink
5
edit-2
7M

Depends on the language. I’m not gonna find shit to copy-paste for what I’m doing in Scala 3 or F#, but in Rust or C++ I’ll frequently Google an issue I can’t figure out and someone will have some fancy black magic hacker solution with super-iterators and turbofishies and weird type inference that I couldn’t think of myself and just throw it in my code with some minor modifications :)

Wait, that’s a thing??? I can earn programmer money just by using copy & paste??? Maybe it’s time I changed jobs…

Copying and pasting: $1
Knowing what to copy and where to paste it: $999

Pumpkin Escobar
link
fedilink
English
117M

Real answer, learn how to paste several code snippets from stack overflow into a ChatGPT window and ask it to do what you need. Sprinkle in some copilot to tweak as needed. Congrats, Mr Programmer.

Honestly, I hate these memes. As an old school hacker/programmer who has been doing this for many decades, I can usually just start thinking in code and start dumping out everything I need from my brain through my fingers to the keyboard. I never copy-and-paste code from online for something I’m coding (I don’t count something like copying a script to do a quick shell task of some-sort; for something like Amazon’s directions for installing Corretto I’m not going to type all that out manually; and I don’t really consider that “programming”).

But as a tech manager (and former University comp.sci instructor), I know this happens more often than I’d prefer. But some of the worst code I’ve had to review has been copy-and-paste jobs where the developer didn’t understand the task correctly and jammed in something they found online as a quick solution. I get that I started in a generation where you had to understand the problem and code the solution from scratch (because the Internet crutch wasn’t what it is today) — but the fact that so many younger developers revel in the fact they copy-and-paste code on the regular makes me sad.

+1 ai tools are fine if you already know what you want to write and it speeds up the process of coding. But when ai tools are writing code you don’t understand, you cannot verify that any of the code is actually correct and doesn’t introduce bugs. Ditto for copy-pasting.

@NOT_RICK@lemmy.world
link
fedilink
English
377M

It’s all imposter syndrome, all the way down

@dohpaz42@lemmy.world
link
fedilink
English
47M

I’ve been professionally programming for 18 years now. And honestly, I hate writing code from scratch. I copy/paste code from other parts of my codebase and just tweak as needed. Writing code from scratch feels like I’m doing something wrong.

I feel like most of my googling of simple code is because I know what I’m trying to do, but I don’t remember the correct function name and or language structure for the language I’m currently using.

Funny, I’ve been in my current support/devops role for 9 years and every year I wonder more what the hell I’m doing. It somehow seems like I get dumber/lose knowledge/the field expands much more rapidly than my broken mind can keep up with.

I feel like a glorified script kiddie most of the time. I couldn’t program my way out of a wet paper bag if my life depended on it.

Create a post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 3 users / day
  • 7 users / week
  • 108 users / month
  • 558 users / 6 months
  • 1 subscriber
  • 898 Posts
  • 3.11K Comments
  • Modlog