🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #108

Re: TP or C ? (was: Languages to program in and ports and blah and etc...)

#108
From: Kevin C. Dorff
Date: Tue, 21 Jul 1992 14:01
35 lines
1964 bytes
In article <1992Jul20.203317.10143@esds.mdc.com> bonney@esds.mdc.com (Greg Bonney) writes:
>I still like Pascal. Everybody says, "it was originally intended only to teach
>people how to program".  And I say, "so what?"  C apparently wasn't "good
>enough" in it's original incarnation either.  Otherwise, why did they have to
>come up with ANSII C and C++?  And C does sacrifice readability in favor of
>flexibility.  The C "for" statement is especially weird; it's completely
>different from "for" statements I've seen in any other language.

I agree, TP is a great version of Pascal, far greater than standard pascal,
which i do this is not worth even looking at (for just about any reason),
but I also agree that C and C++ are quite worthy of their existance.
I am an avid TP, C, C++ programmer...

BUT about the "for" statement in C/C++.  Yes it is especially weird,
but anyone with programming experience knows that one of the most used
constructs is:

   initialization;
   while (expression) 
      stuff
      increment;

which C NICELY compacts to:

   for (initialization;expression;increment)
      stuff

I use this in every (not really exagerating) program that I write.  I think
it is sooo much handier than the first way to do it.

Kevin
--

            Kevin Dorff
            kdorff@nmsu.edu
Technical Details
Message-ID: <KDORFF.92Jul21070154@hobbes.comp>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!gumby!destroyer!fmsrl7!lynx!nmsu.edu!opus!kdorff
References: <1992Jul15.153252.25417@esds.mdc.com> <lzam8cd@lynx.unm.edu> <76207@ut-emx.uucp> <1992Jul20.203317.10143@esds.mdc.com>

Show Full Headers
Complete Article Headers
Newsgroups: rec.games.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!gumby!destroyer!fmsrl7!lynx!nmsu.edu!opus!kdorff
From: kdorff@hobbes.comp (Kevin C. Dorff)
Subject: Re: TP or C ? (was: Languages to program in and ports and blah and etc...)
In-Reply-To: bonney@esds.mdc.com's message of Mon, 20 Jul 1992 20:33:17 GMT
Message-ID: <KDORFF.92Jul21070154@hobbes.comp>
Sender: usenet@nmsu.edu
Organization: /home/dante3/kdorff/.organization
References: <1992Jul15.153252.25417@esds.mdc.com> <lzam8cd@lynx.unm.edu>
 <76207@ut-emx.uucp> <1992Jul20.203317.10143@esds.mdc.com>
Date: Tue, 21 Jul 1992 14:01:54 GMT
Lines: 35