This avoids the creation of a near infinite number of “if, then, else” statements, which is impractical to code when trying to account for the randomness that occurs on the road
Source: safecarnews.com
It’s hard to believe there is no other industry that has not already resolved this programming dilemma.