General rule: Feature flags should default *off* for new features


General rule: Feature flags should default *off* for new features.

This way, if we push to prod and the flag isn’t configured, the feature is safely off by default.

So, avoid:
if (!disableFeature)

Prefer:
if (enableFeature)

Positive bools are easier to read too.

View original on X