home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!sybus.sybus.com!card
- From: card@sybus.com (James Card)
- Subject: Re: converting C 'for' to PASCAL 'FOR'
- Message-ID: <1992Jul29.045113.22772@sybus.com>
- Sender: news@sybus.com
- Nntp-Posting-Host: sybus
- Organization: Sybus Corporation, Largo, FL
- References: <1992Jul28.151937.247@falcon.navsses.navy.mil> <1992Jul28.220307.13267@organpipe.uug.arizona.edu>
- Date: Wed, 29 Jul 1992 04:51:13 GMT
- Lines: 22
-
- >>In article <1992Jul28.151937.247@falcon.navsses.navy.mil>, huynh@falcon writes:
- >>I am interested in doing this using the #define statement.
-
- In article <1992Jul28.220307.13267@organpipe.uug.arizona.edu> dave@cs.arizona.edu (Dave Schaumann) writes:
- >No. PLEASE don't do this. It is a bad, vile thing to use the preprocessor
- >to re-define the language to make it look like some other language.
- >
- >Trust me, you're better off using C's control structures as they stand.
- >You're programs will be easier to understand, and you'll learn C a lot
- >quicker if you don't try to pretend that it's Pascal.
-
- Here, here! I heartily agree with Dave Schaumann. I knew a guy that did
- this and found (later) that his programs were not very maintainable. Not
- only that, but no one else wanted them either! The preprocessor is a
- powerful thing, but it is so easy to misuse.
-
- jC
- --
- __/o___~_ James Card (Firmware Engineer)
- (________| Nothin' like Sybus Corporation
- @ @ top down 2300 Tall Pines Dr. Suite 100
- weather... Largo, Fl 34641 (813) 535-6999
-