Side Effects

Peter J. Holsberg pjh at mccc.edu
Sat Apr 6 02:32:09 AEST 1991


The other day I posted about operator assignments and side effects, and
today received the following response that I would like your *posted*
comments on.

> When in doubt, use "long-hand" and let the compiler optimize.  If you have
> existing code which you are trying to decypher, you should write a test
> program for your particular compiler because while there is a "correct"
> order of evaluation, it is not necessarily adheared to.

Thanks,
Pete
-- 
Prof. Peter J. Holsberg      Mercer County Community College
Voice: 609-586-4800          Engineering Technology, Computers and Math
UUCP:...!princeton!mccc!pjh  1200 Old Trenton Road, Trenton, NJ 08690
Internet: pjh at mccc.edu	     Trenton Computer Festival -- 4/20-21/91



More information about the Comp.lang.c mailing list