Haven't heard of feature flags.. How does that work?
-
-
-
Basically you develop behind a "flag" or toggle. So like: if flag: new_stuff() else: old_stuff() The flag can typically be set dynamically based on a number of factors. Benefits include elimination of long-running branches, big merges, ability to QA, canary releases, etc.
Kraj razgovora
Novi razgovor -
-
-
I'm strongly considering this too, I'm just stuck on the specifics of *how* I'd implement it. The first implementation I saw used URL flags to temporarily set values in the current session. Another read a JSON file off disk. How did you go about it?
-
Depends on the project. At Dimagi we rolled our own thing that's largely based on the user. For most projects I use a library (waffle) that has support for URL-based, user-based, and site-wide toggles. Most frameworks have something already built. https://waffle.readthedocs.io/en/stable/types/flag.html …
- Još 1 odgovor
Novi razgovor -
-
-
But they should be short-lived right? As in once the feature is confirmed working the feature flag is removed in a subsequent release...
-
Yep, exactly. In the wild I see them used for more nefarious long-running purposes like segmenting, A/B testing, or user-facing settings, but that's definitely not the intended use case.
- Još 3 druga odgovora
Novi razgovor -
-
-
They're power. Use them at work to close off features from some user groups - you can have a flag for a beta group, internal or user wide, in which case you remove it.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
Totally agree, feature flags can really improve development processes. Feature-oriented programming also helps in maintaining relevant tests for a particular software product line as one has an explicit definition of its associated features and functions
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.