4 ms·
NO_FOO variables seem to me like bad design: it makes it hard to override/explicity ask for FOO. In general, I think allowing a set of options like FOO=always,n
by endgame 3y ago
NO_FOO variables seem to me like bad design: it makes it hard to override/explicity ask for FOO. In general, I think allowing a set of options like FOO=always,never,auto gives a lot more flexibility and extensibility.
- rippercushions 3y agoWhere's the fun in that? Use NO_FOO=enable,disable to maximize ambiguity.
- serpix 3y agoTo increase confusion the variable name should contain the verb as well: NO_COLOR_DISABLED=enabled
- kps 3y agoYes, it would be better if colour were opt-in.