[<-] [ ^ ] [->] Previous: Design Details in the Code Up: Literate Programming and WEB Next: Overview of WEB
Organisation
Organisation of the program in an order which makes sense to a reader is
one respect in which WEB is unique to the authors' knowledge.
The syntax of
a compiler enforces some ordering of the code, e.g. declaration of
variables before using them etc. Structured or top-down design also imposes
an order on the code. This may often be fairly comprehensible, but on many
occasions some preliminary look at the nature of, say, the data structures,
may help in understanding the abstract design. What is required, then, is a
method of presenting the code in an order entirely determined by the best way
in which a reader would like to encounter it. Support software should have
the role of re-ordering it for the compiler.