this post was submitted on 26 Jan 2025
738 points (99.1% liked)

Programmer Humor

32710 readers
444 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
all 38 comments
sorted by: hot top controversial new old
[–] marlowe221 60 points 1 week ago* (last edited 1 week ago) (5 children)

I love doing that…

Edit - To be clear, since my reply got some upvotes, I meant that I enjoy being the senior developer diving into the legacy code. I actually really like it!

[–] [email protected] 89 points 1 week ago (2 children)
[–] marlowe221 21 points 1 week 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.

[–] [email protected] 35 points 1 week ago (2 children)
[–] jaybone 5 points 1 week ago (2 children)

Is there a generator for these?

[–] [email protected] 7 points 1 week ago

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

[–] [email protected] 2 points 1 week ago (1 children)

Just use the paint, internet person

[–] [email protected] 5 points 1 week ago

Bu-but we're programmers

[–] [email protected] 4 points 1 week ago (2 children)

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

[–] [email protected] 16 points 1 week ago* (last edited 1 week ago) (1 children)

Here's some more.

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

[–] [email protected] 7 points 1 week ago* (last edited 1 week ago)

Nice! Thanks. :3

Is there a bigger resolution btw?

[–] [email protected] 6 points 1 week ago (2 children)

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

https://lemmy.ca/comment/11139658

[–] [email protected] 3 points 1 week ago

Nice collection. Thanks! :)

[–] [email protected] 2 points 1 week ago

Thank you for this.

[–] [email protected] 4 points 1 week ago

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

[–] [email protected] 3 points 1 week 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.

[–] [email protected] 2 points 1 week ago* (last edited 1 week 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.

[–] [email protected] 2 points 1 week ago (1 children)

Feeling of deleting lines > Feeling of adding lines

[–] [email protected] 2 points 1 week ago

Ha, turns out there's one for that

[–] [email protected] 20 points 1 week ago (3 children)

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

[–] ikidd 19 points 1 week 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 14 points 1 week 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

[–] [email protected] 12 points 1 week ago

git blame giveth and git blame taketh

[–] [email protected] 5 points 1 week ago

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

[–] Benjaben 5 points 1 week 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 4 points 1 week ago

I enjoy refactoring and making legacy code better.

[–] TunaLobster 3 points 1 week ago (1 children)

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

[–] [email protected] 3 points 1 week 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 3 points 1 week ago

Same.

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

[–] [email protected] 32 points 1 week ago* (last edited 1 week ago) (2 children)

I am a leaf on the wind, watch how I soar

[–] [email protected] 7 points 1 week ago

I am a loaf on the wand, what how I soak

[–] [email protected] 22 points 1 week ago (1 children)

I don't know if I can work with non legacy code anymore. That... Freedom, it's stifling.

[–] [email protected] 23 points 1 week ago

don't worry, it takes atmost three months for that fresh code to become legacy code bogged down by decisions done in anticipation of things that never happened :)

[–] cybervseas 12 points 1 week ago (1 children)

Stamets? "Now that's a name I've not heard in a long time."

[–] SidewaysHighways 3 points 1 week ago (1 children)
[–] cybervseas 1 points 1 week ago
[–] ChaosInstructor 3 points 1 week ago

it can be really satisfying too. remember in late 1998 i got a project to run all by myself. y2k secure a personel administrative system written in cobol running on os/2. for a large company. it was 2.6 million lines of code when i started and 1.8 million lines when it was secured.