I want to learn some responsibilities of software developers. For example, if I am coding on self driving cars's systems and one day the car causes the death of someone who is responsible of that? Am I responsible on front of laws because I am a member of the developer team of the car self driving system? I think if developers are responsible for results of life critical systems, no one wants to code these systems.
I am going to accept a job as a mid-level developer which includes a life critical system project and i am confusing about the consequences. Will I be responsible on front of laws if the system one day causes a death?
I know that i will give my signature for parts of project that i will work with a team.