home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / c / 11690 < prev    next >
Encoding:
Text File  |  1992-07-28  |  1.5 KB  |  35 lines

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