comp.lang.ada
 help / color / mirror / Atom feed
* an interesting perspective on documentation
@ 1989-02-27 16:08 Glenn Vanderburg
  1989-02-28 15:04 ` documentation of software A. Joseph Rockmore
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Glenn Vanderburg @ 1989-02-27 16:08 UTC (permalink / raw)


All this talk about code documentation has reminded me of a rather
interesting idea I ran across a while back in some documentation
for Donald Knuth's WEB system.

   (For those of you who aren't familiar with it, WEB is a system for
   integrating Pascal code with TeX documentation.  It also offers some
   extra support for modular coding which is precluded by ordinary Pascal
   syntax.  See Jon Bentley's "Programming Pearls" column, CACM, May and
   June 1986, for a good introduction.  WEB is certainly not without
   problems, but it is a fascinating concept, and it's hard not to be
   impressed when you can pick up a listing of a program as large and
   complex as TeX, start reading it from the beginning like a novel, and
   understand it easily).

The thing about WEB that has had the biggest impact on me is something
that Knuth just hints at, and never explicitly states (so far as I
know).  The title of the WEB manual is "The WEB system of structured
documentation," and while that's the only mention of the phrase
"structured documentation," I think that it's the pivotal phrase of
the entire document.  It really makes a difference to see the central
task of programming as documentation.  Now, the main audience is
readers, not the machine.  And, with a little discipline, you can
structure the documentation so that the machine can understand and act
on the same document.  And you don't even have to use WEB to do it!

Thoughts?  Not a panacea, certainly, but it's a very intriguing idea.

Glenn Vanderburg
cyclops@tamunix.bitnet

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1989-04-13  8:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1989-02-27 16:08 an interesting perspective on documentation Glenn Vanderburg
1989-02-28 15:04 ` documentation of software A. Joseph Rockmore
1989-03-05 22:08   ` David Collier-Brown
1989-03-01 18:27 ` an interesting perspective on documentation Scott Simpson
1989-03-02 14:57   ` David Guaspari
1989-03-16 14:21   ` horst
1989-03-20 17:15 ` Eric A. Slutz
1989-04-13  8:47   ` horst

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox