in reply to OO Design Reference?
Simple design strategy: construct multiple sentences concerning the actions of the program: for example, The customer inserts an item into his shopping cart. In this case, you can variably choose nouns to represent some objects- "customer" and "shopping cart" and "item" (product). Verbs will be the functions- ShoppingCart.insert(Item); Try this a few times to get the hang out it. Why not try sifting through one of the thousands of complete shopping apps and trying to perhaps redo it with OO design for practice.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: OO Design Reference?
by PsychoSpunk (Hermit) on Dec 08, 2000 at 00:38 UTC |