this post was submitted on 24 Feb 2024
798 points (97.1% liked)

Programmer Humor

19488 readers
646 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
[–] [email protected] 64 points 8 months ago* (last edited 8 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...

[–] [email protected] 31 points 8 months ago* (last edited 8 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

[–] [email protected] 23 points 8 months ago (1 children)

a viable solution to a complex problem

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

[–] [email protected] 9 points 8 months ago (1 children)
[–] [email protected] 4 points 8 months ago* (last edited 8 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.

[–] [email protected] 7 points 8 months ago (1 children)

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

[–] [email protected] 11 points 8 months ago

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

[–] [email protected] 8 points 8 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.