N
Nick Keighley
I recently got my head around || as a shortcircuit operator and thought
that its "or-ness" is what made it work.
What would either inclusive or exclusive 'and' look like as a short circuit
operator?
exclusive-and was a joke.
You are aware that && is *already* a short circuit operator.
if (file_is_open && first_char_is_dollar)
resublimate_thiotoluene();
if the file isn't open the second condiction isn't
checked.
if (ptr != NULL && *ptr != 0)
copy_ptr(ptr);
is handy