in reply to Programming using data structures

Data structure programming versus what? In my mind, programming = data structures + algorithms. Wether that data structure is a traditional transparent one (ala C struct or perl hashref/arrayref) or an opaque one (OO classes) doesn't really matter. Wether the data structure complex or simplistic is really a matter of the domain. I've seen some too simplistic but much more too complex. The same complexity approach one applies to algorithms can also be applied to data structures. Cohesion and coupling should be the guiding principal when conceiving both algorithms and data structures. If you do that correctly (high cohesion and low coupling), the complexity of your application should fall into a natural state.

-derby

Replies are listed 'Best First'.
Re: Programming using data structures
by Abigail-II (Bishop) on Feb 21, 2003 at 01:37 UTC
    I guess you mean programs = data structures + algorithms. But the book of Wirth talks about different data structures than Dash2. Dash2 talks about simple (although nested) structures passed into functions, while the data structures from the book are the more complex structures that keep all the data the program works on.

    Abigail