Straw man. No one said all managers are bad. The question was why do programmers make so many mistakes, the number one answer is bad policies and/or bad incentives by management.
Ok, so *you* didn't say this, so I'll pay that. You'd have to agree with me though, that it is often as I described it, especially here.
Unless you are self employed you probably have management. If you do really stupid careless stuff on you own that is your manager's responsibility too. Its the managers job to prevent you from going down that self destructive path. To get you trained and/or educated to do the right thing, and of course to make sure the corporate incentives encourage doing the right thing.
It is interesting how you mentioned "sprint", which implies some "agile" development but still think that the manager is responsible for all this stuff. To be honest I agree with most of what you have written but my main point was that this is a cliche that I hear all too often from people in IT, especially on
Nothing ever becomes real until it is experienced. - John Keats