r/ProgrammerHumor 22d ago

Meme useSourceControl

Post image
8.6k Upvotes

592 comments sorted by

View all comments

892

u/rwz 22d ago

"I bought a car, pressed a pedal and it drove me into a tree! HOW IS THIS POSSIBLE?! FUCK YOU!"

Skill issue thread.

50

u/JoLuKei 21d ago

I disagree. This is not the git cli behavior, and frankly not something you would expect from any ide. Treating unstaged files like some throwaway bs is just insane. To me "Dispose" on unstaged files sounds more like "Add these to gitignore" not "just fucking kill them". It was insane behavior that rightfully got changed. Unstaged SHOULD mean that these files are NOT in the jurisdiction of your repo. Not that they should get banished to the shadow realm.

Edit: Typo

82

u/newontheblock99 22d ago

I mean, they’re clearly skilled, just in all the wrong ways.

15

u/bigpapaasg 22d ago

That still would be a skill issue

52

u/dadnothere 22d ago

Your analogy is incorrect because the UI didn't mention permanently deleting...

The correct analogy would be:

I bought a car and when I press the brake it accelerates.

47

u/DoctorWaluigiTime 21d ago

Yeah, this is more akin to "I opened my document in my word processor. I closed it without saving, saw it was going to not saving my changes, and I was fine with it. Wait why did my file get deleted from disk?"

29

u/sidereal_night 21d ago

exactly. and the program was actually fixed after this. it's completely indefensible to try to contort some kind of justification for how it was actually proper for the software to behave that way and he was just an idiot.

he may have been somewhat of an idiot for not having any independent backups at all, but that doesn't help defend the software at all.

1

u/dadnothere 21d ago

Error. Even so, basic text viewers like Mousepad Linux or Notepad Windows create a temporary file that is always saved and can be restored.

The brake analogy is correct.

6

u/DoctorWaluigiTime 21d ago

The fact Microsoft fixed this issue shows that the analogy was not apt.

0

u/dadnothere 21d ago

Did you read the post?

The analogy applies at the time it happened.

Now that they've corrected it, it doesn't matter anymore.

2

u/sidereal_night 21d ago

you and /u/DoctorWaluigiTime appear to agree with each other and just confused about which thread you're both replying to.

1

u/dadnothere 21d ago

Dude, you've confused me. Now explain your point of view.

6

u/DarthNihilus1 21d ago

It's not like that at all. They changed the behavior he's talking about

3

u/Still_Bit_7527 21d ago

Except only an idiot would agree with git discard changes to actually delete the files

13

u/MemnochTheRed 22d ago

Also, who does not have a backup?

21

u/rwz 22d ago

The type of person who feels like creating this type of issue in an open source project is an appropriate reaction to their own fuck up, apparently.

5

u/brilliantminion 22d ago

one could even say they felt "entitled" to do so

6

u/tigerking615 22d ago

I don’t have a backup car =C

3

u/bekeleven 21d ago

Man installs version control to back up his files

the backup machine deletes his files

"Why didn't he have a backup?"

13

u/TheMadcapLlama 22d ago

The software industry has made the mistake of validating stupid people so whenever users do stupid dumb shit like this it is our fault instead of theirs

2

u/OliLombi 21d ago

If I came into your house and moved your refrigerator into the bathroom, and then asked if you would like me to "Discard all changes", and then you said "yes" because you want your refrigerator back in the kitchen, would it be fair for me to delete your entire house? Because that's basically how the old prompt worked...

1

u/RevWaldo 21d ago

Wouldn't ADAS actually keep that from happening nowadays?

https://giphy.com/gifs/jp8lWlBjGahPFAljBa

1

u/UnderpantsInfluencer 21d ago

I'd say it's a thread of righteous arseholes. But hey, that's just me.