Hacker News new | past | comments | ask | show | jobs | submit login

Even better than a dry-run flag is to have the noop mode be the default behavior and have e.g. "--execute" enable non-read-only behavior (or, for really scary commands like programmatic data destroyers, "--nuke-my-data-i-solemnly-swear-i-know-what-i-am-doing"). Prevents plenty of accidental mistakes by sleepy operators.

That's a quibble though, the article is well-put and quite correct about the value of a dry-run mode.




Oops, I read the article but not the comments. I see I'm far from the first person to suggest this, apologies for the duplication.




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

Search: