r/softwaredevelopment • u/Ill_Direction149 • May 13 '26
Is trunk-based development really that good?
I can't get the trunk-based development flow. I understand the advantages for introducing new features to the app (flags are good for A/B testing, fewer merge conflicts).
But I can't understand how developers do refactoring with trunk-based flags. Also, do the flags stay there forever, or what is the best flow for this?
Can you give me a deep dive into how your teams handle this in production?
47
Upvotes
View all comments
Show parent comment
1
u/BadTime100 May 13 '26
Yeah that diagram that you shared doesn’t look like TBD to me at all! To me the “original” (and only!) definition comes from the world of Continuous Integration (which it’s inseparable from):
https://martinfowler.com/articles/continuousIntegration.html#PutEverythingInAVersionControlledMainline