learning C (was: Re: ambiguous ?)

mcdonald at uxe.cso.uiuc.edu mcdonald at uxe.cso.uiuc.edu
Wed Oct 25 10:11:15 AEST 1989



>From the well-known jlg:

>However, my _POINT_ was that, if the short circuit nature of these
>operators is valuable, then there might also be other contexts where
>user control of expression evaluation order might _ALSO_ be valuable!
>C doesn't provide such other mechanisms - WHY NOT?!?!?!?

Ummm- the user always has control of evaluation order in && and ||
constructs. And any other place too, by use of temporary variables.
I thought this flame war was  over the inability of the compiler
to optimize evaluation order in && and || constructs.



More information about the Comp.lang.c mailing list