That's why I mentioned autonomy too. People like working and being valuable and choosing to add value. The issue is the current economic system doesn't consider things valuable if they don't directly generate a lot of money or profit for a business. An individual developer gets a lot of value from having a job they enjoy where they produce useful code that solves problems. AI removes some of that value for the individual developer whilst promising more profit and value for the business.
> Why would anyone choose to work with sewage? Or why would most developers choose to align with rest of the team or with user needs, when programming is most enjoyable?
Why do people choose to work with sewage now? They're not paid a lot. Programming is most enjoyable when it's useful. Writing code which is going to get thrown out because it doesn't align with your team is not valuable or fun, so why you or any other individual developer choose to do that given the choice?
Also, some things simply are not valuable within a system, regardless of the economic structures at play. Individual happiness is one of those things that has no value under any economic system, specifically because it is a moving target and follows Goodhart’s law.