Those are not mutually exclusive. Both software engineers and school teachers can be in the shit. I'd argue that the tax impact is even worse for software engineers (as the top end of their salary is mostly consumed by the higher tax brackets) and their net situation ends up not much above that of a school teacher.