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 14:13:16 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!howland.erols.net!panix!nycmny1-snh1.gtei.net!chcgil2-snf1.gtei.net!news.gtei.net!news.huji.ac.il!not-for-mail From: "Ehud Lamm" Newsgroups: comp.lang.ada Subject: Re: has anyone ever used this book? Date: Tue, 17 Jul 2001 00:05:49 +0300 Organization: The Hebrew University of Jerusalem Message-ID: <9ivl0c$2h4$1@news.huji.ac.il> References: NNTP-Posting-Host: di3-53.dialin.huji.ac.il X-Trace: news.huji.ac.il 995317581 2596 132.64.13.53 (16 Jul 2001 21:06:21 GMT) X-Complaints-To: abuse@news.huji.ac.il NNTP-Posting-Date: Mon, 16 Jul 2001 21:06:21 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Xref: archiver1.google.com comp.lang.ada:10021 Date: 2001-07-17T00:05:49+03:00 List-Id: Larry Kilgallen wrote in message news:MWhRrgnaQKJk@eisner.encompasserve.org... > 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. > I don't know the book. What I do know from personal experience with many students is that quite a few seem to graps the idea of an ADT, but fail to realize how to create layered designs, and modularize their programs. I always try to show examples like building set ADT from a list package, using various layering techniques (composition, using inheritance etc.). Ehud Lamm