Accountants and software developers do not in fact share a fate. I know it doesn't feel that way when you're commenting on HN, but there are whole lucrative professions that do not care at all what happens in ours.
The same decent at math, moderately ambitious people do well at both. Not 100% overlap but pretty large. If one side collapses the other side will get flooded.