🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #2188

Re: A New Feature for GCC. Part II (again long)(much shortened)

#2188
From: L'aspirapolvere ama il mare
Date: Thu, 20 Jan 1994 16:17
35 lines
2937 bytes
>>>>> "Erkki" == Erkki Ruohtula <eru@tnso04.tele.nokia.fi> writes:

    >> In other words, the goal is to increases the readability of
    >> source code. This is very important when the code was written
    >> by somebody else than youself, and you are trying to understand
    >> what the h*ll the code is supposed to do. The fact that the
    >> code compiles without a single

    Erkki> I fully support this goal, but hacking GCC to support it is
    Erkki> futile (and in any case, I hate the idea of putting
    Erkki> features to GCC that are not directly part of the job of
    Erkki> efficiently and safely compiling programs, FSF should not
    Erkki> turn GCC into a Swiss Army Knife; they already have Emacs
    Erkki> :-).  

Now _there's_ a good idea!  GCC should be a compiler, and nothing
else.  If you want an enforced naming convention (which I don't), it
can be put into an Emacs mode, since it is in the stage of _writing_
the code that the convention would be used, not in _compiling_.

Then we can all decide not to use it :)

Anyway, meaningful names are always useful, and I much prefer having a
name which tells me "Main window title" than "Main window title which
is a `char *'".  If the representation of the window title were later
changed to be of a type String, then the variable name would have to
be changed to match!  Seems a bit (a) redundant and (b) error-prone to
me ...

-- Neil
--
    Help sufferers of     |  _ __        _          | As for Paul, he married  
   keraunothnetphobia.    | ' )  )      //     /    |  someone else's fiancee  
Write to your MP & demand |  /  / _  o // _   /_  o |     and quickly lost     
 an end to space debris.  | /  (_</_<_</_/_)_/ <_<_ |        his hair.         
Technical Details
Message-ID: <NRP.94Jan20161728@hollywood.reading.ac.uk>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!news.belwue.de!surz03.hrz.Uni-Marburg.DE!news.th-darmstadt.de!math.fu-berlin.de!zrz.TU-Berlin.DE!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!pipex!uknet!reading!nrp
References: <RJH.94Jan17231801@lk-hp-9.hut.fi> <CJt6zI.45J@metronet.com> <RJH.94Jan18222909@lk-hp-10.hut.fi> <ERU.94Jan19132213@tnso04.tele.nokia.fi>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,49a90e79e095ed48
X-Google-Attributes: gid1025b4,public
X-Google-Thread: f97d0,49a90e79e095ed48
X-Google-Attributes: gidf97d0,public
X-Google-Thread: f65d0,49a90e79e095ed48
X-Google-Attributes: gidf65d0,public
X-Google-ArrivalTime: 1994-01-20 14:18:39 PST
Newsgroups: gnu.misc.discuss,gnu.g++,gnu.gcc
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!news.belwue.de!surz03.hrz.Uni-Marburg.DE!news.th-darmstadt.de!math.fu-berlin.de!zrz.TU-Berlin.DE!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!pipex!uknet!reading!nrp
From: nrp@reading.ac.uk (L'aspirapolvere ama il mare)
Subject: Re: A New Feature for GCC. Part II (again long)(much shortened)
In-Reply-To: eru@tnso04.tele.nokia.fi's message of 19 Jan 1994 11:22:12 GMT
Message-ID: <NRP.94Jan20161728@hollywood.reading.ac.uk>
Sender: news@csug.cs.reading.ac.uk
Nntp-Posting-Host: hollywood
Organization: University of Reading
References: <RJH.94Jan17231801@lk-hp-9.hut.fi> <CJt6zI.45J@metronet.com>
 <RJH.94Jan18222909@lk-hp-10.hut.fi>
 <ERU.94Jan19132213@tnso04.tele.nokia.fi>
Distribution: gnu
Date: Thu, 20 Jan 1994 16:17:28 GMT
Lines: 35