From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,949cde0d2989aae8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-16 13:48:22 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!newsfeed.media.kyoto-u.ac.jp!sjc-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!kilgallen From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: has anyone ever used this book? Message-ID: References: Organization: LJK Software Date: 16 Jul 2001 16:48:10 -0500 NNTP-Posting-Host: 216.44.122.34 X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 995316497 216.44.122.34 (Mon, 16 Jul 2001 20:48:17 GMT) NNTP-Posting-Date: Mon, 16 Jul 2001 20:48:17 GMT Xref: archiver1.google.com comp.lang.ada:10017 Date: 2001-07-16T16:48:10-05:00 List-Id: In article , "Beau" writes: > Ada 95 Problem Solving and Program Design? I am using it in class and we > are in ch 11. We have for a problem number 6. and I cannot understand for > the life of me why we would need to construct an ADT for the bank account > AND use the currency and Dates ADT packages. I am just asking for an > explanation respectively. thanks. Without even looking at the book, I would say that textbook-sized examples are supposed to be small, so to illustrate using one ADT within another one has to do that for cases that are possibly quite a bit smaller than one would encounter in the real world. It is a sign of forethought, however, to make the currency ADT package when you only need it one place, anticipating that in the future you may need it in other places.