News for hackers. Stuff that matters.
Re:Ask HN: How did you build feature flags? by worddepress on Tuesday April 02, 2024 @11:16PM (#39913270)
Easiest way is a DB entry / Environment Variable / Config that turns a feature on and off, some central class/object that reads it and is a source of truth and a bunch of "if" statements in the right place to hide the feature and make it unavailable via APIs if turned off.
Re:Ask HN: How did you build feature flags? by bosch_mind on Thursday April 04, 2024 @06:56PM (#39936838)
We do this at $BIG_TECH. Nothing too crazy. I should add that it tied into our company user directory though, so toggles can happen per user as well and support multiple data types