this post was submitted on 20 Nov 2024
800 points (97.4% liked)

Programmer Humor

19623 readers
2530 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 1 year ago
MODERATORS
800
submitted 23 hours ago* (last edited 23 hours ago) by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 21 points 7 hours ago (2 children)

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

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

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

I clicked delete and then clicked confirm when it asked me if I'm sure I want to delete, and all my files disappeared! What the fuck?!? Fuck this fucking operating system!!!!1!!1one!!!

[–] [email protected] 1 points 1 hour ago (1 children)

Did you even read the thread?

CANNOT EVEN FIND THEM IN THE RECYCLE BIN!!!!

[–] [email protected] 1 points 56 minutes ago (1 children)

Yes, that's what it means when it says "files will be permanently deleted, this is not reversible."

[–] [email protected] 1 points 38 minutes ago (1 children)

https://github.com/microsoft/vscode/issues/32405#issuecomment-322155856

Also, check the linked issue to see the bug and UX problems. Particularly the first comment and this one: https://github.com/microsoft/vscode/issues/32459#issuecomment-322160461

I have a difficult time believing this was their fault. It is (was) bad UX.

[–] [email protected] 1 points 35 minutes ago (1 children)

Have you actually used VS Code, or are you just doing a bunch of research to disagree with a stranger on the internet?

[–] [email protected] 3 points 29 minutes ago (1 children)

I'm not doing "a bunch of research", I just read the thread and the linked issue and I'm annoyed by people's condescending comments about something it seems like they didn't actually read. We shouldn't shit on people for things we believe they did wrong, especially when, if you read the linked issue, it wasn't their fault.

I use VS Codium (basically Code), but I don't use it's git integration other than maybe the occasional merge conflict resolution.

[–] [email protected] 0 points 15 minutes ago* (last edited 11 minutes ago)

If the user didn't read that, that's on them. They used a feature they didn't understand, which is part of a version control system that they also didn't understand, and didn't bother reading anything. If you still think they bear no responsibility for their actions then we'll just have to agree to disagree.

Since they don't actually have a git project tied to their files, "all changes" means "files created". If they did have git configured then it would mean "changes since the last commit", and it wouldn't delete the files.

Edit: I will concede that it's probably not immediately apparent to someone not familiar with the system that uncommitted files will be deleted if you use the revert button. But that comes back to understanding things before you go around clicking buttons that say the action is irreversible. At a minimum, they bear responsibility for not knowing what they were doing, and still charging ahead full steam.