🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.c
Article #9217

C programming style

#9217
From: LINNDR%VUENGVAX.BITNET
Date: Mon, 01 Sep 1986 03:31
11 lines
1035 bytes
Since I am currently in a situation where I need the sort of behavior
described by Jeff Cavallaro in the original posting (an N step process
with abort on any failed step), I reread his text. I'm not read sure
how his example that "significantly upsthe routine count" is different
his preferred style example. In fact, his preferred style example look to
me to be what the compiler will actually produce for the

if (step1() && step2() && ... && stepn())

example (which I have simplified here by assuming that each step returns
a 1 for success).
Technical Details
Message-ID: <3451@brl-smoke.ARPA>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!caip!brl-adm!brl-smoke!smoke!LINNDR%VUENGVAX.BITNET@WISCVM.WISC.EDU

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!caip!brl-adm!brl-smoke!smoke!LINNDR%VUENGVAX.BITNET@WISCVM.WISC.EDU
From: LINNDR%VUENGVAX.BITNET@WISCVM.WISC.EDU
Newsgroups: net.lang.c
Subject: C programming style
Message-ID: <3451@brl-smoke.ARPA>
Date: Sun, 31-Aug-86 23:31:28 EDT
Article-I.D.: brl-smok.3451
Posted: Sun Aug 31 23:31:28 1986
Date-Received: Mon, 1-Sep-86 05:37:26 EDT
Sender: news@brl-smoke.ARPA
Lines: 11