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: Robert A Duff Subject: Re: Inheritance and Polymorphism in Ada !! Date: 1999/10/25 Message-ID: #1/1 X-Deja-AN: 540399886 Sender: bobduff@world.std.com (Robert A Duff) References: <7u64k3$l1d$1@hiline.shinbiro.com> <3806DC34.1513E8B1@frqnet.de> <7u7o36$tv8$1@nntp6.atl.mindspring.net> <38077b65_1@news1.prserv.net> <7udtav$ma4$1@nnrp1.deja.com> <7uqvb1$2m4$1@nntp3.atl.mindspring.net> <7uuvth$9n2$1@nnrp1.deja.com> Organization: The World Public Access UNIX, Brookline, MA Newsgroups: comp.lang.ada Date: 1999-10-25T00:00:00+00:00 List-Id: Robert Dewar writes: > My feeling is that people do not use declare blocks NEARLY > often enough. I agree. > Note that the issue of heaviness of syntax (and whether you > need a marker between declarations and statements, which is > the point Bob Duff has made) is quite orthogonal to the > fundamental point that nested blocks are very valuable. I agree that it's orthogonal. However, I argue that the heavy syntax discourages their use. Language design principle: Make it *easy* to use features that are safe, improve readability, and all that good stuff -- don't weigh those features down with extra rules and regulations, or extra syntax. It's interesting to me that you like the heavy block-statement syntax, but you gripe about the heavy procedure syntax (as compared to COBOL). The actual syntactic overhead is the same, except for one extra blank line in the procedure case. - Bob