-
Differing consequences of the same actions is tricky - but its all about the checks and balances to prevent it.
Write bad code on your raspberry pi - it doesnt work.
Write bad code for your self driving tesla - someone dies.You'd hope the checks on the latter mean that the software folks themselves are not liable.
I always think back to the ferry that sank because they didn't close the door properly. Forget to close the door on your warehouse because you were having nap - some stuff might get nicked. Forget to close the door on your ferry because you had a nap- 192 people die.
That idea that you could go to prison for manslaughter if your code isn't perfect is troublesome as a software guy. I'd turn that job down