TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Feature Flags vs. Configuration Options – Same Difference?

61 pointsby m0nhawk3 months ago

3 comments

jillesvangurp3 months ago
Nice to see an old article of mine referred in that article (A Taxonomy of Variability Realization Techniques). Not my best work. The publishing date reflects that. We wrote most of that while I was still living in Sweden (I moved away in 2000), I completed my Ph. D. in 2002 and and after a post doc left the academic world in 2004. This paper was bounced around editorial boards for a while before we finally got it published.<p>In any case, the thing that we tried to make clear with that paper is that there are different ways to make software do different things (variability) and that these techniques have trade offs. That&#x27;s still true today and people using the wrong ones make life harder for themselves and their users.<p>The main trade off is when you have to lock in your choice. With compile or build time feature flags, you are stuck with whatever you set before you ship the binary. You can&#x27;t change it after. A change will require users to update their software. Configuration gives more flexibility. That breaks into runtime configuration and before runtime configuration.<p>The broader context here is the notion of companies that build multiple products using the same code base. How do they differentiate products from each other. How do they create new variants. And how do these get configured. Some companies cam up with really complicated ways to do this. The further back you have to go to change a choice (e.g. making source file change vs. setting a checkbox in a configuration screen), the more expensive it gets.
razkarcy3 months ago
&gt; While documentation is often disliked, it is essential for configuration options, because [...] options are only added to a text file with a one-line comment at best.<p>This resonates. Feature Flags over time devolve into a lovely career of code archaeology.
评论 #43045575 未加载
评论 #43047617 未加载
esafak3 months ago
I read a thought-provoking article here about feature flags, entitlements, keeping them in but using a database or decoupling something something. Anyone remember the one? I am trying to grasp a principled way to collectively approach feature flags, entitlements, and authz.