Two-second rule two seconds as inadequate, and recommend a three-second rule. German law requires a minimum 0.9 second distance but when tested under relaxed conditions researchers found that their test subjects spent 41% of the test time at following distances under 0.9 second. The United States National Safety Council suggests that a three-second rule—with increases of one second per factor of driving difficulty—is more appropriate. Factors that make driving more difficult include poor lighting conditions (dawn and dusk are the most common); inclement weather (ice, rain, snow, fog, etc.), adverse traffic mix (heavy vehicles, slow vehicles, impaired drivers, pedestrians, bicyclists, etc.), and
As-if rule similar rule, to permit optimization (notably inlining). As-if rule The standard for the C++ programming language allows compilers for this language to apply any optimizing transformation to a program during compilation, provided that such optimizations make no change in the "observable behavior" of the program, as specified in the standard; this mostly means that any actions the program performs on its environment occur in the specified order. This rule is commonly referred to as the as-if rule. The rule has three main exceptions. The first is that programs exhibiting undefined behavior are exempt; since the observable behavior is not well-defined