home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / alt / msdos / programm / 3052 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  1.9 KB

  1. Xref: sparky alt.msdos.programmer:3052 comp.os.msdos.programmer:11704 comp.sys.ibm.pc.programmer:707 comp.lang.c++:18566 comp.lang.c:19044
  2. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!think.com!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!dkuug!aud.dk!vaxc.aud.auc.dk!fischer
  3. From: fischer@iesd.auc.dk (Lars Peter Fischer)
  4. Newsgroups: alt.msdos.programmer,comp.os.msdos.programmer,comp.sys.ibm.pc.programmer,comp.lang.c++,comp.lang.c
  5. Subject: Re: Newbie Wants Advice on C-Programming
  6. Message-ID: <FISCHER.92Dec30223532@orange.iesd.auc.dk>
  7. Date: 30 Dec 92 21:35:32 GMT
  8. References: <1992Dec23.220530.15347@netcom.com>
  9.     <1992Dec24.172333.7339@grebyn.com> <1hdpluINN1lv@agate.berkeley.edu>
  10.     <1992Dec25.070024.15672@grebyn.com>
  11. Sender: news@vaxc.aud.auc.dk (USENET News System)
  12. Organization: Mathematics and Computer Science, Aalborg University
  13. Lines: 26
  14. In-Reply-To: malak@grebyn.com's message of 25 Dec 92 07: 00:24 GMT
  15.  
  16.  
  17. >>>>> "Michael" == Michael Malak (malak@grebyn.com)
  18.  
  19. Michael>    1) It has structured syntactic blocks for constants, types and
  20. Michael>       variables.
  21.  
  22. Which is not much of an advantage. Look at all the pain Knuth has gone
  23. through to work around it.
  24.  
  25. Michael>    2) It has nested procedures.
  26.  
  27. Sound like a neat idea but isn't a big deal in practice. Modules in
  28. much better. If you keep your modules (files in C) small, and keep
  29. functions local (static) you rarely need nested procedures. Note that
  30. Wirth is abandoning the idea, too.
  31.  
  32. Michael>    3) Most importantly, the good structured programming professors
  33. Michael>       wouldn't be caught dead teaching C (biggotry in my opinion).
  34.  
  35. A professor that believes the notion of structured programming is tied
  36. to a specific language should be teaching gardening instead.
  37.  
  38. /Lars
  39. --
  40. Lars Fischer, fischer@iesd.auc.dk | It takes an uncommon mind to think of
  41. CS Dept., Aalborg Univ., DENMARK. | these things.  -- Calvin
  42.