3 ms·
Feature toggles can last decades. For instance GCC has a feature flag called -ansi which gives you C90 compatibility. C90 was superseded in 1999 by C99, and s
by kazinator 11y ago
Feature toggles can last decades.
For instance GCC has a feature flag called -ansi which gives you C90 compatibility.
C90 was superseded in 1999 by C99, and so that's 17 years of compatibility, and counting.
- startling 11y agoI don't think this is a feature flag in the same way the rest of the discussion is using the phrase.
- kazinator 11y agoHow so? C99+ support/conformance is a compiler feature. That feature breaks/conflicts with some aspects of C90 support, an existing, older feature. So you need a feature flag. Inside comiler there are various places where you have the equivalent of "if C90 do this, else do that".
- startling 11y ago"Feature flags" tend to be for behavior that is being developed and tested. The -ansi flag is more like configuration. It's pretty valuable to continue to support C90.