All jobs / Engineering manager / tech lead / Code & Development Practices

Engineering manager / tech lead interview question · 3–5 years

Trunk-based development or long-lived feature branches — which do you put a team on, and why?

The strongest answer

Trunk, with small changes merged daily behind feature flags: merge pain and surprise integrations grow with branch age. Long-lived branches only where releases genuinely are versioned separately

Why it works

Right — the cost is a function of branch age, and flags are what make merging daily safe.

What a good answer covers

Answers that fall short

Who gets asked this

More Code & Development Practices questions