3 ms·
> but your original post did assert that "every" command line option is a bug, and I'm tired of this "options are bad" argument. Every option doubles the amoun
by WalterBright 5y ago
> but your original post did assert that "every" command line option is a bug, and I'm tired of this "options are bad" argument.
Every option doubles the amount of testing required to exhaustively test the program. This soon reaches the level of impossibility. My point is to encourage people to take a hard look at the options and consider redesigns and specification changes to eliminate as many as one can.
The same applies to `if` statements in code. Finding ways to change the data structures and program logic to eliminate edge cases and the `if` cases is a significant goal of mine.
It also applies to compiler warnings. In the case of C, the warnings are there because the C Standard allows practices that are known to cause many problems, but the C compiler vendor has to compile them anyway, and so choose to make them warnings. But for a newer language, the warnings come about because the language designer did not design the language rules well enough.
- bcbrown 5y ago> Every option doubles the amount of testing required to exhaustively test the program. True, but pairwise-independent combinatorial testing provides almost-exhaustive coverage with non-exponential growth in test cases: https://github.com/microsoft/pict https://github.com/microsoft/pict