Im totally happy with crappy codebases I can fix, I just get fed up coz because management wants 34 new features delivered by next tuesday or a junior with an attitude doesnt want to pair or be trained to TDD.
In the end the companies that were like this "because there is no alternative" usually did suffer the consequences and the ones that werent reaped the benefits shrug
It doesn't matter if you consider it good or bad - morals don't come into commercial software development. The closest you ever get is platitudes when it doesn't conflict with profits.
I work in healthcare and patient care occurs in spite of commercial software development, not because of it.
This has very little to do with capitalist realities. As I mentioned before, the saner the company was about this stuff the less likely they were to eat losses.