Hacker News new | ask | show | jobs
by efortis 1544 days ago
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.