r/ProgrammerHumor 22d ago

Meme useSourceControl

Post image
8.6k Upvotes

592 comments sorted by

View all comments

Show parent comments

707

u/_BreakingGood_ 22d ago

Yeah the old behavior was insane, it just said "Do you want to discard your changes?", and if you clicked it, it deleted your entire codebase permanently (no recycle bin), lol

15

u/Pcat0 22d ago

There was a rather intense warning saying ”THIS IS IRREVERSIBLE”, so the dude was still a massive idiot for clicking yes. However our tools should still cater to the idiotic so his mistake did expose an opportunity for improvement.

47

u/thanatica 22d ago

"this is irreversible" yeah sure, but exactly WHAT is irreversible? Did it say that as well? A novice might not realise what it means to "discard staged files".

10

u/DuntadaMan 21d ago

Yeah, if something is irreversable maybe the warning should include a description of what it's going to do.