if (feature_flag == ON) {
SECTION A
} else {
SECTION B
}
WHEN you decide the feature is successful, then you MUST simplify this code to:
SECTION A
The if statement and B section are just cluttering your work and increasing your test and maintenance burden. Kill it with fire.
SECTION A
} else {
SECTION B
}
WHEN you decide the feature is successful, then you MUST simplify this code to:
SECTION A
The if statement and B section are just cluttering your work and increasing your test and maintenance burden. Kill it with fire.
Comments
One of many contributing factors.
🤷♂️
"Eisenhower Matrix Considered Harmful"