5 ms·
Command line switches like that won't, IMO and IME, make developers think "wow, I'm so glad this exists to guard against footguns". Rather they'll just set an a
by darrenf 4y ago
Command line switches like that won't, IMO and IME, make developers think "wow, I'm so glad this exists to guard against footguns". Rather they'll just set an alias to get around it. Likewise confirmation prompts albeit with a little more resitance. Once a repeat user is frustrated enough they'll bust out `expect` or similar, angry at the original command for mollycoddling them because they know what they're doing and don't make daft mistakes, damn it.
- selfhoster11 4y agoIf you alias a —do-as-i-say switch to a command without wrapping into a script to make sanity checks of your own, IMO that’s negligence. The name of the flag should make you think thrice about invoking it without safety checks.
- raverbashing 4y agoIt was the same with safety overrides on hydraulic presses People would tape one button on, then wonder why it would chop a finger sometimes Yes it is annoying. Yes, there may be better choices. But it is there for a reason
- darrenf 4y agoI don't disagree. I think negligence happens.