Those factors are consistent for everyone, though, and it seems that developers have more job induced unhappiness than many other careers. There's something fundamentally wrong and broken with this discipline.
A good point — and as even the article points out, plumbers and farmers live in the same world as engineers and aren't grousing about housing costs or wars potentially brewing. Why is that?
Plumbers and farmers are deeply unsatisfied, just try talking to them. That's why a sizable majority of them plan on voting for Trump.
It is almost as if humans are not made for sitting 8-10 hours learning abstract stuff and thinking really hard about imagined logic puzzles in constant stress.
It's as if we get some satisfaction from doing physical things with our hands and seeing progress for our labors at the end of each day.
The fact that a programmer would quit their 50h/w job, which they hate, to then take on a personal 80h/w project (open source, saas, educational, etc), which they enjoy, suggests that the malaise has little to do with the craft.
Is there something like the SO Developer Survey for other industries?