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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7508aa0d80b8bf66 X-Google-Attributes: gid103376,public From: "Matthew Heaney" Subject: Re: Inheritance and Polymorphism in Ada !! Date: 1999/10/15 Message-ID: <38077b65_1@news1.prserv.net>#1/1 X-Deja-AN: 537188644 Content-transfer-encoding: 7bit References: <7u64k3$l1d$1@hiline.shinbiro.com> <3806DC34.1513E8B1@frqnet.de> <7u7o36$tv8$1@nntp6.atl.mindspring.net> Content-Type: text/plain; charset="US-ASCII" X-Complaints-To: abuse@prserv.net X-Trace: 15 Oct 1999 19:07:17 GMT, 129.37.62.187 Organization: Global Network Services - Remote Access Mail & News Services Mime-version: 1.0 Newsgroups: comp.lang.ada Date: 1999-10-15T00:00:00+00:00 List-Id: In article <7u7o36$tv8$1@nntp6.atl.mindspring.net> , Richard D Riehle wrote: > Alternatively, the declare block could (many say _should_) be promoted to a > subprogram call. Whoever says "should" is wrong. The purpose of a declare block is to localize the declaration of objects, as your example illustrated. The purpose of a subprogram is to abstract away algorithmic complexity. These are two completely different things, and there should be no reason why they are confused. Matt -- Help keep evolution in the science classroom and religion out: become a member of the National Center for Science Education.