Re:When Feature Flags Go Wrong (2016)
by arwhatever on Saturday July 22, 2017 @01:35AM
(#14825585)
Once worked on a project where the feature flagging utility code was named FeatureMasking.IsSuppressed("feature name"), which would lead one to wonder whether it was the feature or the masking which was suppressed.
Worse, rather than cleanly blocking off full sections of code, it was common to find feature flag checking embedded within multiline expressions like
if (a>b) && c.IsNotEmpty && FeatureMasking.IsSuppressed("whatever") && d <= e ...
Worse, rather than cleanly blocking off full sections of code, it was common to find feature flag checking embedded within multiline expressions like
if (a>b) && c.IsNotEmpty && FeatureMasking.IsSuppressed("whatever") && d <= e ...