this post was submitted on 02 Jul 2023
193 points (98.0% liked)

Programmer Humor

32426 readers
475 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 8 comments
sorted by: hot top controversial new old
[โ€“] independantiste@lemmy.world 5 points 1 year ago* (last edited 1 year ago)

Removing old code that happens to be terrible because you wrote it while you were tired and so you can shrink it from 50 lines down to 10 ๐Ÿ˜Œ๐Ÿ˜Œ๐Ÿ˜Œ

[โ€“] bilb@lem.monster 4 points 1 year ago

Removing entire features that nobody knows we have and haven't been supported for years

[โ€“] DeriHunter@lemmy.world 4 points 1 year ago (1 children)

This is not humor, it's a fact lol

[โ€“] stephen01king@lemmy.zip 1 points 1 year ago

Humour can't be factual?

[โ€“] aaaantoine@lemmy.world 3 points 1 year ago

Removing it even refactoring old code can be very therapeutic.

[โ€“] vuks@lemmy.world 2 points 1 year ago

Most of my recent work was updating and refactoring old code, this hits right home lol

[โ€“] LeylaaLovee@lemmy.fmhy.ml 1 points 1 year ago (1 children)

Humans just like feeling like they're better than another human, deleting someone else's code is loudly saying that you're better than them in some metric. Nothing wrong with it, but that's why writing code feels less powerful than yeeting other people's shit.

So if I delete my own code, I feel better than myself!

I do it all the time, that's awesome for my said esteem.