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 ๐๐๐
this post was submitted on 02 Jul 2023
132 points (97.1% liked)
Programmer Humor
32453 readers
996 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
Removing entire features that nobody knows we have and haven't been supported for years
Removing or even refactoring old code can be very therapeutic.
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.
Most of my recent work was updating and refactoring old code, this hits right home lol
This is not humor, it's a fact lol