this post was submitted on 24 Feb 2024
788 points (97.0% liked)

Programmer Humor

18915 readers
285 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Darkassassin07@lemmy.ca 62 points 5 months ago* (last edited 5 months ago) (2 children)

Does having to look back at 4 of your old code examples to write 10 lines count?

I didn't google it...

[–] dependencyinjection@discuss.tchncs.de 31 points 5 months ago* (last edited 5 months ago) (2 children)

Isn’t that the idea. Like you know that you had a viable solution to a complex problem previously so why go through the trouble of solving it again if you already did. Even if you have to modify it, it saves time for new novel problems. I’m

[–] Darkassassin07@lemmy.ca 23 points 5 months ago (1 children)

a viable solution to a complex problem

You mean how to structure a for loop in a bash script? Lmao

[–] Poutinetown@lemmy.ca 9 points 5 months ago (1 children)
[–] dependencyinjection@discuss.tchncs.de 4 points 5 months ago* (last edited 5 months ago) (1 children)

Yeah.

My company starts all new projects from a skeleton of the last project including shared directories of usual functions we’ve created over time.

[–] Poutinetown@lemmy.ca 7 points 5 months ago (1 children)

Sorry I was trying the parse the "I'm" at the end of your comment

Ah, just a typo. Or my alter ego almost escaped.

[–] stjobe@lemmy.world 8 points 5 months ago

That's the way. I've been programming for nigh on four decades, and it's almost a daily occurrence with junior devs going to stack overflow or chatGPT to solve an issue instead of just searching the code where nine times out of ten the problem (or a very similar one) is already solved.