this post was submitted on 20 Nov 2024
933 points (97.7% liked)

Programmer Humor

20630 readers
1229 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 2 years ago
MODERATORS
933
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/programmer_humor
(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 24 points 2 months ago (8 children)

If you ever happen to have 5000 uncommitted files, you shouldn't be asking yourself if you should commit more often. You should be asking yourself how many new repos you should be making.

load more comments (8 replies)
[–] [email protected] 23 points 2 months ago (3 children)

Fuck all victim-blamers. "Discard" is not how you label a button that permanently erases anything.

load more comments (3 replies)
[–] [email protected] 22 points 3 months ago (2 children)

Doing a git clean is a dick move.

[–] BatmanAoD 13 points 3 months ago (1 children)

The user clicked an option to "discard" all changes. They then got a very clear pop-up saying that this is destructive and cannot be undone (there's a screenshot in the thread).

[–] [email protected] 25 points 3 months ago (1 children)

I very much understand how one can think this would revert any changes done to files under version control but not delete the ones that are not. I believe this dialog has since been updated to explicitly state that fact.

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 21 points 3 months ago

Screenshots of git issues are one of my favorite genres of meme

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

Often times, people learn that the stove is hot by touching it.

It's easier to blame the stove than the person who touched it. But if you laugh when you watch it happen, you're probably not laughing at the stove.

load more comments (1 replies)
[–] [email protected] 20 points 2 months ago

No backup, no sympathy.

[–] [email protected] 18 points 2 months ago (3 children)

Typical web developer. He didn’t even know files can be deleted without going into „recycle bin”

load more comments (3 replies)
[–] [email protected] 17 points 2 months ago (9 children)

That has the same energy as complaining that a file manager has "Delete" in the context menu.

[–] [email protected] 13 points 2 months ago* (last edited 2 months ago)

except that the "delete" in file managers is actually "trash" and that's for precisely this reason. Anyone not using the trash bin for a GUI that is capable of deleting files is either incompetent or malicious.

frankly rm should default to using the trash bin as well, for desktop-focused distros.

load more comments (8 replies)
[–] [email protected] 15 points 2 months ago
load more comments
view more: ‹ prev next ›