There are plenty of things that affect happiness and therefore productivity if you follow their assertion.
The stress of trying to pay rent in tech cities being one I can think of. Would be interesting to see if developers in more easy going places are more or perhaps less productive.