Layoffs rarely fall evenly across a developer org. The pattern that shows up repeatedly isn't just seniority — it's proximity to revenue, cost, and irreplaceable institutional knowledge.
What tends to survive cuts
- Roles directly tied to revenue-generating product, especially ones a company can point to and say "this team ships the thing customers pay for," tend to be protected longer than roles supporting internal tooling or exploratory projects.
- Roles that touch cost reduction directly, such as infrastructure efficiency or reliability work that visibly lowers cloud spend, tend to be easy to justify keeping even in a cost-cutting cycle, because the role pays for itself in a way that's easy to point to on a spreadsheet.
- People holding deep, undocumented knowledge of a critical system are harder to lay off simply because the transition risk of losing them is visible and immediate to whoever is making the decision.
What tends to be cut first
- Roles supporting internal-only tools with no direct customer or revenue link.
- Newer, exploratory initiatives without a clear, near-term path to revenue.
- Roles that are easily backfilled — heavily generalist positions with a large, readily available talent pool, where the transition cost of losing someone is low.
What this means for compensation, not just job security
Resilient roles don't just survive layoffs more often — they also tend to hold their compensation better in a downturn, because a company under pressure is far more willing to cut a lower-visibility role's headcount or budget than to underpay the people it can't afford to lose. If you're choosing between two similar-paying roles, factoring in which one sits closer to revenue or cost, not just which pays slightly more today, is a reasonable way to think about long-term compensation stability, not just this year's number.
A practical exercise
For your current or prospective role, try to finish this sentence concretely: "If this team were cut in half, the remaining half would need to justify existing by pointing to ___." If you can fill that blank with something specific and revenue- or cost-adjacent, that's a reasonably resilient position. If the honest answer is vague, that's worth knowing — not as a reason to panic, but as information for how you think about your next move.
Discussion
Comments are anonymous and reviewed before they appear publicly.