You should keep in mind that a good chunk of programmers absolutely want to invest further into safety but are never ever allowed to do so by management.
At one point you learn to shrug it off and make notes to maybe revisit the code one day and fix the dangling bits. Alas, that time almost never comes because people get demotivated and leave the companies. Which is very normal.
As someone who also does web development I know that this degree of liability is completely foreign to a big part of the software world, and IMO this is an part of the reason software still sucks big time in terms of efficiency, reliabilty, safety and security.
Because if you have to think about liability suddenly the simple rugged system starts to look lot more attractive.