kogasa,
@kogasa@programming.dev avatar

The assignment syntax is too close to comparison, which is what is more typical in that position. I would recommend


<span style="color:#323232;">const bool _isFeatureEnabled = false;
</span><span style="color:#323232;">if (_isFeatureEnabled &amp;&amp; ...)
</span>

if not a proper feature flag (or just remove the code).

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • oklahoma
  • feritale
  • SuperSentai
  • KamenRider
  • All magazines