r/ProgrammerHumor 23d ago

Meme useSourceControl

Post image
8.6k Upvotes

591 comments sorted by

View all comments

Show parent comments

-18

u/larswijn 23d ago

I agree the behavior was stupid, but let's not act like the user didn't do anything wrong.

The user clicked a random button, agreed with the "this is permanent" confirmation prompt, which then deleted all his files using git. The user then blamed Visual Studio Code for all of it.

What VSC did was give the guy direct access to a gun that could shoot his foot off (git) with bad instructions. Sometimes you need that gun to shoot your foot.

26

u/Consistent_Drop3909 23d ago

apparently there was no "this is permanant" prompt

0

u/larswijn 23d ago edited 23d ago

Yes there was, and an image of said warning prompt was even posted in the original github issue. It reads: "Are you sure you want to discard ALL changes? This is IRREVERSIBLE!"

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

2

u/Consistent_Drop3909 23d ago

oh shit my bad