I'm increasingly of the view that we should have brakes on economic efficiency. The basic human values - friendliness, compassion, fairness, kindness, justice - they all wither and die when a business gets
too efficient. They get optimized away in pursuit of that little extra margin.
Part of the reason software jobs are nice and comfortable is of course the pay and the agency, both coming from demand exceeding supply. But a big part of it is also, IMO, that it's impossible to tell how much contribution to the bottomline a developer has on a day-to-day, or hour-to-hour basis. When my coworker and I start talking shit on the job, does that contribute positively or negatively to the ultimate productivity? By how much? Nobody can tell, which is why we can get away with it.
Conversely, in retail or fast-food joints, you can track people's contribution to the bottom line at minute resolution. Which is why they're being treated like slave labor.