🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c.moderated
Article #2212

Re: Encouraging good coding standards - call for participation...

#2212
From: Scott Tringali
Date: Fri, 08 Mar 1996 23:04
21 lines
1827 bytes
>    You can assume that all pointers have the same format, regardless of
>    the type they point to, and that this is really an integer.  There are
>    some weird machines where this isn't true, but they aren't important;
>    don't waste time catering to them.  Besides, eventually we will put
>    function prototypes into all GNU programs, and that will probably make
>    your program work even on weird machines.

Is this a joke?  And I suppose we can assume all machines are big-endian, too,
and it's okay to copy strings by casting them to ints and using assignments?

Thanks, GNU, for today's biggest laugh, from a bunch of people who have ported
tons of code to the DEC Alpha (obviously an unimportant machine).

[Update: This is no longer quite as bad, it now says only to assume pointers
 are integers in things like LISP interpreters.  The current standards have
 one offensively stupid suggestion I can detect, but are otherwise nearly
 sane, largely because of the ongoing debate, in gnu.misc.discuss. -mod]

--
Scott J. Tringali, tringali@ultranet.com
Raytheon Electronic Systems, International Air Traffic Control
Technical Details
Message-ID: <4hqeeh$1nh@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <4gsee2$4r5@solutions.solon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: tringali@res.ray.com (Scott Tringali)
Newsgroups: comp.lang.c.moderated
Subject: Re: Encouraging good coding standards - call for participation...
Date: 8 Mar 1996 17:04:49 -0600
Organization: Raytheon Electronic Systems
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4hqeeh$1nh@solutions.solon.com>
References: <4gsee2$4r5@solutions.solon.com>
Reply-To: tringali@ultranet.com
NNTP-Posting-Host: solutions.solon.com
X-Authentication-Warning: The author was not authenticated.
X-Disclaimer: This is the author's opinion and not that of Raytheon Company.
X-Newsreader: TIN [version 1.2 PL2]