Re: Who bears the cost ?
"I'm not sure who will still want to write software though."
I would.
"I prefer to do good work but I haven't always had that option and the day I'm held legally responsible for the quality of code I write I'll be quitting"
That does not exactly give confidence in the code that you're writing. I write the best code that I can for anything that will end up in somebody else's hands. I have too often had to fight with management types to do it, but there's only a couple of times that, in the end, writing good code wasn't an option. And I quit those jobs, because a company like that isn't worth burning my time or reputation.