@[email protected] to Programmer [email protected]English • 7 months agoadvancedlemmy.worldimagemessage-square32fedilinkarrow-up1429arrow-down115
arrow-up1414arrow-down1imageadvancedlemmy.world@[email protected] to Programmer [email protected]English • 7 months agomessage-square32fedilink
minus-squareKogasalink1•7 months agoThe assignment syntax is too close to comparison, which is what is more typical in that position. I would recommend const bool _isFeatureEnabled = false; if (_isFeatureEnabled && ...) if not a proper feature flag (or just remove the code).
The assignment syntax is too close to comparison, which is what is more typical in that position. I would recommend
const bool _isFeatureEnabled = false; if (_isFeatureEnabled && ...)
if not a proper feature flag (or just remove the code).