this post was submitted on 26 Jan 2025
721 points (99.2% liked)

Programmer Humor

33320 readers
577 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] marlowe221@lemmy.world 59 points 2 weeks ago (5 children)
[–] zqwzzle@lemmy.ca 88 points 2 weeks ago (2 children)
[–] marlowe221@lemmy.world 21 points 2 weeks ago (5 children)

I might be in the minority, but I get more excited about the idea of maintaining/working on some creaky old legacy code base than I do about the idea of starting a new project from scratch.

[–] zqwzzle@lemmy.ca 33 points 2 weeks ago (2 children)
[–] jaybone@lemmy.world 6 points 2 weeks ago (2 children)

Is there a generator for these?

[–] zqwzzle@lemmy.ca 9 points 2 weeks ago

There are a few from a search, this one came up with a GitHub repo. https://arthurbeaulieu.github.io/ORlyGenerator/

[–] ddplf@szmer.info 2 points 2 weeks ago (1 children)

Just use the paint, internet person

[–] QuazarOmega@lemy.lol 5 points 2 weeks ago

Bu-but we're programmers

[–] muhyb@programming.dev 4 points 2 weeks ago (2 children)

Do you have more of these memes? I'd like to see more.

[–] kora@sh.itjust.works 17 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

Here's some more.

Shared this with my team just recently. Guess there is a lot more of these brilliant edits.

[–] CapriciousDay@lemmy.ml 2 points 1 day ago

There should be a "saving thirty minutes in reading documentation by spending two days debugging a GPT generated method"

[–] muhyb@programming.dev 7 points 2 weeks ago* (last edited 2 weeks ago)

Nice! Thanks. :3

Is there a bigger resolution btw?

[–] zqwzzle@lemmy.ca 6 points 2 weeks ago (2 children)

From the last time this came up I got most of them from this guys collection.

https://lemmy.ca/comment/11139658

[–] muhyb@programming.dev 3 points 2 weeks ago

Nice collection. Thanks! :)

[–] mesamunefire@piefed.social 2 points 2 weeks ago

Thank you for this.

[–] ambitiousslab@lemmy.ml 4 points 2 weeks ago

Yes, me too! But, only if I have the autonomy to improve things where I can. Otherwise, I just find it demotivating

[–] NigelFrobisher@aussie.zone 3 points 2 weeks ago

I enjoy this too, but it’s kind of rough when you’ve inverted control, teased apart unnecessary coupling, updated dependencies and backed everything with unit and other tests, but then your colleagues are too scared to code review it.

[–] masterspace@lemmy.ca 2 points 2 weeks ago* (last edited 2 weeks ago)

I find that working on production code with well defined use cases and requirements to be the most satisfying, and working on new proof of concept / demos / marketing tools to be the least satisfying.

So on balance, more of the legacy projects I've worked on have fit those criteria than the new builds, but the couple of new builds that had well defined use cases, and no legacy code to deal with were the absolute best.

[–] boonhet@lemm.ee 2 points 2 weeks ago (1 children)

Feeling of deleting lines > Feeling of adding lines

[–] underisk@lemmy.ml 19 points 2 weeks ago (3 children)

also, your own code after you've spent time away from it.

[–] ikidd@lemmy.world 18 points 2 weeks ago

That is the strangest thing, going back into a program and thinking "what the hell was that guy thinking?" and then realizing it was me.

[–] Gustephan@lemmy.world 13 points 2 weeks ago (1 children)

What fucking ass for brains engineer wrote this dogshit code?!?!?! I'm gonna scroll back to the header find out who wrote and give a piece of my mind to... myself x.x

[–] zqwzzle@lemmy.ca 11 points 2 weeks ago

git blame giveth and git blame taketh

[–] zqwzzle@lemmy.ca 5 points 2 weeks ago

The time varies but starts at about 1 day for me…

[–] Benjaben@lemmy.world 5 points 2 weeks ago

I've gotten to spend some time where my major responsibility was to refactor and improve "research-grade" code from some scientists. Felt like tending a Zen rock garden, but code lol, I found it really relaxing and lovely.

[–] BlackPenguins@lemmy.world 4 points 2 weeks ago

I enjoy refactoring and making legacy code better.

[–] TunaLobster@lemmy.world 3 points 2 weeks ago (1 children)

I dive into Fortran77 code regularly. Sweet mother of Neptune! All caps and such short variable names!

[–] menemen@lemmy.ml 3 points 2 weeks ago

Used to do that when I was working in science. I also kinda loved it. Just interesting to intimately experience how people thought back in the 80s. There are surprisingly many Fortran 77 libraries still in use today (they can be called from modern Fortran code).

[–] infectoid@lemmy.world 3 points 2 weeks ago

Same.

It’s as close to being a doctor as I’m gonna get.