home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / software / 5089 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  2.5 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!uvaarpa!concert!borg!news_server!martinc
  2. From: martinc@hatteras.cs.unc.edu (Charles R. Martin)
  3. Newsgroups: comp.software-eng
  4. Subject: Re: C code Layout
  5. Message-ID: <MARTINC.92Dec19134216@hatteras.cs.unc.edu>
  6. Date: 19 Dec 92 18:42:16 GMT
  7. References: <1992Dec16.083733@eklektix.com> <MARTINC.92Dec16111734@hatteras.cs.unc.edu>
  8.     <1992Dec17.081451@eklektix.com> <1992Dec18.063344.8617@netcom.com>
  9. Sender: news@cs.unc.edu
  10. Organization: UNC Department of Computer Science
  11. Lines: 33
  12. In-reply-to: mcgregor@netcom.com's message of 18 Dec 92 06:33:44 GMT
  13.  
  14. In article <1992Dec18.063344.8617@netcom.com> mcgregor@netcom.com (Scott Mcgregor) writes:
  15.  
  16.    In article <1992Dec17.081451@eklektix.com> rcd@raven.eklektix.com (Dick Dunn) writes:
  17.    >The point of that long ramble is that if you've got code with lots of
  18.    >detailed comments, you can push past a hardware barrier to displaying it,
  19.    >but you'll still run into eye/brain limits.  THOSE limits--our mental and
  20.    >physiological limits--we have to take into account when writing code.
  21.  
  22.    This point is right on.  And once you realize this, you realize that
  23.    once you hold the choice of language constant (e.g. standard C code
  24.    conventions) you've strongly limited the freedom to get bigger chunks.
  25.    That's one of the reasons I was very interested in the alternate
  26.    schematic representation of the code, which resulted in a more
  27.    efficient horizontal usage without apparent increase in cognitive
  28.    load. The net result is that more could be understood in a glance.
  29.  
  30.    I think that applying these principles WITHIN the restrictions of a
  31.    given language is entirely appropriate and should be done. But I don't
  32.    think we should allow ourselves to get so comfortable with these
  33.    restrictions that we don't push at the envelope and get some more
  34.    freedom from time to time.
  35.  
  36. Ditto -- sorry to agree with you in a secondary step, Dick, but I know
  37. you'll understand.  I think what's *really* important isn't the amount
  38. of comments (although I still feel it's too risky for a professor to
  39. chide people for too many comments!) but the amount of information
  40. that's being conveyed. 
  41. --
  42.         Charles R. Martin/(Charlie)/martinc@cs.unc.edu
  43.      Dept. of Computer Science/CB #3175 UNC-CH/Chapel Hill, NC 27599-3175
  44.         3611 University Dr #13M/Durham, NC 27707/(919) 419 1754
  45.      "Oh God, please help me be civil in tongue, pure in thought, and able
  46.       to resist the temptation to laugh uncontrollably.  Amen." -- Rob T
  47.