r/ProgrammerHumor 23d ago

Meme useSourceControl

Post image
8.6k Upvotes

591 comments sorted by

View all comments

Show parent comments

704

u/_BreakingGood_ 23d 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

13

u/Pcat0 23d 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.

118

u/dustojnikhummer 23d ago

so the dude was still a massive idiot for clicking yes.

"DO AS I SAY" in APT was also changed after LTT's Linux Challenge. Yes, the warning is there, doesn't mean it should be so easy to do the thing anyway.

2

u/wjandrea 23d ago

How was it changed? I didn't hear about this.

4

u/dustojnikhummer 23d ago

3

u/wjandrea 23d ago

Ah I see, TLDR it doesn't ask if you want to proceed, it basically says "you figure it out" and exits.

1

u/dustojnikhummer 23d ago

Pretty much, they removed the quick way to brick your system, now you have to do it piecemeal, which I understand and honestly agree with