back

by porridgeraisin·1y ago·view on hn ↗
> You have to build the feature twice

Why though? Can't you have it dynamically look up whether the experiment is active for the current request and if so behave a certain way? And the place it looks up from can be updated however?

1 comments
But you have to implement and test both sides of that "if" statement, both behaviors. Thus "build the feature twice"
Right: you have to take responsibility for implementing (and testing and short-term maintaining) two branches.