... Plus, the cars don't swerve. They brake. Why? It's simpler to program, and there's less variables to consider. You brake and the guy behind you hits you - his fault.
How do the people who build self-driving cars deal with the ethical problems that programming them involves? Such as, if someone walked out in front of the car, would it swerve to avoid them at the risk of injuring or killing the passenger?
You have to realize that the self-driving cars react a lot faster than a normal human would. It would attempt to stop at the very first sign. However, if a person is stupid enough to move in front of a moving vehicle, well....I'd say the person who chose the outcome was the pedestrian. Not the passenger.