🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #334

Re: Reserved names in ANSI C

#334
From: Doug Gwyn
Date: Sun, 16 Jul 1989 09:05
25 lines
1836 bytes
In article <1150@vsi.COM> friedl@vsi.COM (Stephen J. Friedl) writes:
>This kind of thing comes up a lot, and it brings up a question I've
>had in my mind: how many real programs will *really* be strictly
>conforming?  Almost all real programs will have to use libraries
>(say, Xwin or curses or networking or Informix) that will make the
>program not strictly conforming.

Lots of my applications are strictly conforming (e.g. see the
information statistics code I recently posted to comp.sources.misc).
In other applications, the bulk of the code is strictly conforming
with system dependencies isolated in separate modules.
In any case, the more portable the bulk of your code is, the less
work you have to do when porting.

>How many people have the six-char limit foremost in their minds?
>How about those who never have to deal with these machines?

Since "lint -p" warns about violations of this constraint, it is
easy to comply with it.  Essentially all my code does -- and I
don't have any 6-character monocase linkers to contend with right
now.  The reason I nevertheless strive for maximum portability is
because I never know what environments my code will have to run
under in the future, so I make sure that I don't have a lot of
work to do to port the code later.  This policy has paid off
handsomely in the past and I'll stick to it.
Technical Details
Message-ID: <10539@smoke.BRL.MIL>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!adm!smoke!gwyn
References: <GEOFF.89Jun11231924@onyx.cs.warwick.ac.uk> <2619@yunexus.UUCP> <547@cybaswan.UUCP> <1150@vsi.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!adm!smoke!gwyn
From: gwyn@smoke.BRL.MIL (Doug Gwyn)
Newsgroups: comp.std.c
Subject: Re: Reserved names in ANSI C
Message-ID: <10539@smoke.BRL.MIL>
Date: 16 Jul 89 09:05:24 GMT
References: <GEOFF.89Jun11231924@onyx.cs.warwick.ac.uk> <2619@yunexus.UUCP> <547@cybaswan.UUCP> <1150@vsi.COM>
Reply-To: gwyn@brl.arpa (Doug Gwyn)
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 25