As an algorithm developer for databases, it is pretty easy to define, that an incoming variable has to be a string. Simply define it, before storing it.
As an algorithm developer for cars, you have to take into account, that humans are pretty smart and they might misuse the advanced driver assistance system. Here are some examples, what can happen:
Let it park while jumping out
07/2014
Use a coke can to fake a hand on the steering wheel
07/2014