hairinmybellybutt@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 年前advancedlemmy.worldimagemessage-square41fedilinkarrow-up1423arrow-down113
arrow-up1410arrow-down1imageadvancedlemmy.worldhairinmybellybutt@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 年前message-square41fedilink
minus-squarekogasa@programming.devlinkfedilinkarrow-up1·1 年前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).
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).