in reply to Re: Re: Help with ADT
in thread Help with ADT
The client only does stuff through the accessors, so you don't have the coercion issues.which sounds specific enough to me, and that was what I argued against.
You are right about that it's good to do the design first (if only all programmers would). It's also good to have an API, but that's already implied if you are using an ADT, because it wouldn't be much of an ADT if you'd poke around in the datastructure outside of defined set of functions. However, you do not need objects to be able to deal with ADTs. Your password file can be seen as an ADT which you access via the *pwent set of functions.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Help with ADT
by dragonchild (Archbishop) on Jul 25, 2002 at 14:38 UTC | |
by Abigail-II (Bishop) on Jul 25, 2002 at 14:42 UTC | |
by dragonchild (Archbishop) on Jul 25, 2002 at 14:48 UTC | |
by Abigail-II (Bishop) on Jul 25, 2002 at 15:30 UTC | |
by dragonchild (Archbishop) on Jul 25, 2002 at 15:41 UTC | |
|