Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I hate that one with all my soul. There are several variations where the answers are completely ambiguous. This is frustrating when you need to, say, print something, but gets dangerous when this is a destructive action ("Do you want to delete this? This action is IRREVERSIBLE"")


> Do you want to delete this? This action is IRREVERSIBLE

Every so often, I’ll check this github issue[0] from 2017, which requests that the various prune commands for docker (e.g. “docker image prune”) have a dry-run flag to display what will actually be deleted. These commands have a warning that data may be deleted, which requires user confirmation to continue, but don’t actually tell you what actions will be performed based on that confirmation until after the deletion has been performed.

[0] https://github.com/moby/moby/issues/30623


I hate that too, and especially because it’s a very well known problem with a very well agreed upon solution since ages




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: