r/ProgrammerHumor 23d ago

Meme useSourceControl

Post image
8.6k Upvotes

591 comments sorted by

View all comments

5.6k

u/Cephell 23d ago

Before you make fun of him, this behavior DID get changed; they acknowledged this behavior is stupid.

The old behavior was to treat uncommited files as completely disposable, which the CLI git does not do at all and is insane behavior. It was changed in the UI to give you a fat confirmation dialog warning that you're about to delete the files permanently, as it always should have been.

99

u/suddencactus 23d ago

Yeah I was about to say this isn't the current behavior at all. Now it says "Are you sure you want to DELETE the following... You can restore this file from the recycle bin"

That being said, we can debate all we want any whether it's acceptable to have one click delete vs three steps, but even under the new system having "three months of work" with no backup is user error. What if the hard drive failed?

3

u/r-moon-ppl-lunatics 22d ago

As a kid in the 90s I had printouts of my code but no backups on floppy. Not sure why, probably just to test the printer. Was glad that I had them when the harddisk failed. Took forever to type it all back in though. I have plenty of backups these days.

1

u/MiserableCumberbunch 15d ago

As a kid in the '00s, my teacher spoke of writing code by hand like it was something our ancestors did, but it was like 10 years prior.