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

Programmer Humor

19623 readers
22 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
849
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 6 days ago (2 children)

There is a difference between someone who is new and experiences something like their IDE deletes a file that was unexpected and asking a question about why it did that.

Then there are arrogant assholes who believe their shit doesn't stink and that they couldn't have done anything wrong and it was the IDE's fault for not knowing what they wanted to do versus what they commanded it to do.

The OP is the latter.

[–] [email protected] 17 points 6 days ago

I mean, not entirely, and he says he lost months worth of work. Like imagine you know nothing of git:

  • Click buttons in the IDE to add source control.

  • IDE says a bunch of files have been changed.

  • But I don't want to make changes to the files, I want to source control them.

  • Attempt to undo the changes. Click "discard changes" thinking it will put them back to how they were before clicking add source control. Get a warning dialog that this is not undoable, but that's fine because I don't want whatever changes it made to my files anyway.

  • All files are deleted and unrecoverable.

Like that experience sucks balls and it's reasonable that a person wouldn't expect "discard" == "delete". Also, from reading the GitHub thread, apparently at that time VSCode was doing a git clean when you clicked this. Which like...yeah why the hell would it do that lol? I don't think I have ever used git clean in my entire career.

[–] [email protected] 4 points 6 days ago

He's right, his shit doesn't stink. His decision making was reasonable for a new programmer.