20 ms·
> Economically, it makes sense to "discriminate" against pregnant women, so the discussion should be more "Here's why you shouldn't do it" and less "How dare yo
by jancsika 7y ago
> Economically, it makes sense to "discriminate" against pregnant women, so the discussion should be more "Here's why you shouldn't do it" and less "How dare you do it!".
Not sure what century you're living in but here in the 21st the "how dare you" branch is the hair-trigger one. So simple logic dictates to short circuit on "how dare you" and only test "here's why" in the unlikely chance that the first test fails.
Please give me the economic argument for putting the cold branch test in the hot path.