Standard extensions (logical exclusive or)

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Wed Nov 14 02:34:32 AEST 1984


> C programmers like to cut corners; witness all those on1 messages that
> depend on && evaluating as little as possible.

???  The short-circuit behavior of && and || is a very important language
feature; it is there by deliberate design.  Without it, correct code for
many types of loops would be quite awkward (`a la Pascal).



More information about the Comp.lang.c mailing list