It won't be decided by philosophy or ethics. It will be decided by law. Any company that sells a car that kills its driver will be sued to oblivion. Also, nobody will buy it.<p>And this isn't some mind puzzle. The first software for the first generations of self-driving cars will have to code something. What will they code?