🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #957

Re: Order of Evaluation

#957
From: Doug Gwyn
Date: Sun, 19 Nov 1989 01:13
10 lines
811 bytes
In article <21265@usc.edu> gould@physics.usc.edu (Christopher M. Gould) writes:
> Why is the order of evaluation of subexpressions undefined?

Why should it be?

Allowing implementations flexibility in this regard can lead to more
efficient generated code.

If a programmer wants to ensure a particular sequence of calculation,
C provides sufficient tools to do so.  Use them.
Technical Details
Message-ID: <11646@smoke.BRL.MIL>
Path: arc1-ca.pugleaf.net!utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!shadooby!samsung!aplcen!haven!adm!smoke!gwyn
References: <21265@usc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!shadooby!samsung!aplcen!haven!adm!smoke!gwyn
From: gwyn@smoke.BRL.MIL (Doug Gwyn)
Newsgroups: comp.std.c
Subject: Re: Order of Evaluation
Message-ID: <11646@smoke.BRL.MIL>
Date: 19 Nov 89 01:13:10 GMT
Article-I.D.: smoke.11646
References: <21265@usc.edu>
Reply-To: gwyn@brl.arpa (Doug Gwyn)
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 10