A general crossing of that gap is, dare I say it, a problem requiring real intelligence.
But I think the biggest thing is that programming is a craft, and many programmers think of themselves as artists. As an artist it is heartbreaking to see your creations tainted and then discarded by corporate politics.
In my experience, devs who take more pride in closing tickets than coming up with elegant solutions are less susceptible to burn out. I don’t know exactly how they do it, but they do tend to have many hobbies. They don’t lose sleep over shipping some spaghetti code they copied from stack overflow without understanding. They just treat it as something to get out of their way so they can get to the things they actually enjoy.
On the other hand this spaghetti stuff usually comes back to them in form of new (bug) tickets or even worse on-call alerts. Then they (or some other poor soul) has to deal with it again.
I’m not a market research expert, but I think Apple has largely missed the mark by positioning its smaller phones as budget options. There’s demand for a premium small phone. Maybe even make it a wee bit thicker to improve battery life, but it should be narrow and not too tall.
I used to think like that, but it too is fundamentally unfair. It is a recognition that there must exist an underclass of people that will be coerced into work else they will be kept at "survival level".
Some people still argue over autoformatter parameters, but then people will always find a bike shed to argue about.
With clang-format & co. on Save plus possibly a git hook this all went away. It might not always be perfect (which is subjective anyway) but its so worth it.