Another, more positive, lesson is that program structures should be based on data structures. There are deep underlying reasons why this is so… (he gives many reasons) …The computer system sees the world through the medium of its data structures.
The Jackson Design Technique
This is the basis of the Jackson design technique: We start by (1) considering the data structures, which we then use to (2) form a program structure. We list the executable operations needed to carry out the task, and (3) allocate each operation to a component of the program structure.
There are, of course, further steps in the design process, but these three are the first and the most important: the quality of the work we do as we take these steps will determine the quality of the programs we write.
-----------------------------------
“program structures should be based on data structures
When you design a program, how do you base your program structures on the structures in the XML input?
/Roger