News for hackers. Stuff that matters.
Re:Ask HN: Do you have a guide on how to use feature flags? by efortis on Sunday April 03, 2022 @09:44PM (#30902596)
I export a boolean such as `hasFeatureX` and then delete it.

   if (hasFeatureX) doX()
   else …
If it has to be more complex than that, I use a feature branch.

There are no comments on this comment yet.