Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
endgame
· 3y ago · 0 comments
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.
Comments
[–]
rippercushions
3y ago
Where's the fun in that? Use NO_FOO=enable,disable to maximize ambiguity.
[–]
serpix
3y ago
To increase confusion the variable name should contain the verb as well: NO_COLOR_DISABLED=enabled
[–]
kps
3y ago
Yes, it would be better if colour were opt-in.