Just to take things to another extreme — our society seems to believe the death penalty works as a deterrent — so why shouldn’t we seek the death penalty for executives when their neglect kills people ...?
If I could get prosecuted for accidents my code coused I would never work which such tasks.