this post was submitted on 20 Nov 2024
883 points (97.5% liked)

Programmer Humor

19652 readers
1484 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
you are viewing a single comment's thread
view the rest of the comments
[–] AnAmericanPotato 148 points 1 day ago (21 children)

I feel bad for this kid. That really is a bad warning dialog. Nowhere does it say it's going to delete files. Anyone who thinks that's good design needs a break.

Half the replies are basically "This should be obvious if your past five years of life experience is similar to mine, and if it isn't then get fucked." Just adding insult to injury.

[–] [email protected] 72 points 1 day ago (9 children)

I'm not great at English, but "discard all changes" shouldn't ever mean "Delete".

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

I'm pretty sure vscode shows a confirmation dialog when discarding changes will permanently delete a file. I've done that recently with temporary files that were no longer needed.

[–] JackbyDev 3 points 17 hours ago

Did you even read the thread?

load more comments (1 replies)
load more comments (7 replies)
load more comments (18 replies)