🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #173

Re: TP or C ?

#173
From: Bruce Stenning
Date: Fri, 24 Jul 1992 14:47
34 lines
2623 bytes
In article <cg.0afn@ami-cg.UUCP> cg@ami-cg.UUCP (Chris Gray) writes:
>In article <1992Jul22.000454.24871@ccu1.aukuni.ac.nz> stuartw@ccu1.aukuni.ac.nz
>writes:
>My relevant experience: I've written an ANSI C compiler at work. I use
>ANSI C at work almost exclusively. I've written other compilers, including
>the one I use here at home. I've probably written over half a million lines
>of high-level-language code over the years, so I've learned a LITTLE about
>how to do it in a maintainable way, usually without sacrificing efficiency.

One question:  Do you consider C a high-level language?  I'd call a low
level language with the typing and control of a high-level language. 
There are a lot of things you can do in C that would be far less
efficient in any other language.  The beauty of C is that it allows the
programmer to write code that checks itself rather than this being done
by the compiler.  It is very good practise to write code that is
thoroughly checked than hope the compiler will catch it for you. 
Writing well-documented C code with meaningful variable names will mean
that it will be maintainable and very efficient.

Can you imagine writing something like UNIX in Pascal?  It would be an
absolute nightmare.

>--
>Chris Gray   alberta!ami-cg!cg	 or   cg%ami-cg@CS.UAlberta.CA

+-------------------+-------------------------\\__--.------------------------+
| Bruce Stenning    |                      |\/   o\ . ARGGH.... Stop eating  |
+-------------------+                      |   "" <.                         |
| bruce@inmos.co.uk |                      |/\  __/       my .sig file...    |
+-------------------+-------------------------//-----------------------------+
+-------------------+-------------------------\\__--.------------------------+
| Bruce Stenning    |                      |\/   o\ . ARGGH.... Stop eating  |
+-------------------+                      |   "" <.                         |
| bruce@inmos.co.uk |                      |/\  __/       my .sig file...    |
Technical Details
Message-ID: <1992Jul24.144708.3784@inmos.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!inmos!news
References: <1992Jul15.153252.25417@esds.mdc.com> <lzam8cd@lynx.unm.edu> <76207@ut-emx.uucp> <1992Jul20.203317.10143@esds.mdc.com> <1992Jul22.000454.24871@ccu1.aukuni.ac.nz> <cg.0afn@ami-cg.UUCP>

Show Full Headers
Complete Article Headers
Newsgroups: rec.games.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!inmos!news
From: bruce@cheetah.inmos.co.uk (Bruce Stenning)
Subject: Re:  TP or C ?
Message-ID: <1992Jul24.144708.3784@inmos.co.uk>
Sender: news@inmos.co.uk (The Usenet News System)
Reply-To: bruce@inmos.co.uk (Bruce Stenning)
Organization: INMOS Limited, Bristol, UK.
References: <1992Jul15.153252.25417@esds.mdc.com> <lzam8cd@lynx.unm.edu> <76207@ut-emx.uucp> <1992Jul20.203317.10143@esds.mdc.com> <1992Jul22.000454.24871@ccu1.aukuni.ac.nz> <cg.0afn@ami-cg.UUCP>
Date: Fri, 24 Jul 1992 14:47:08 GMT
Lines: 34