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

What tends to be cut first

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.