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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Bob Duff Newsgroups: comp.lang.ada Subject: Re: If not Ada, what else... Date: Thu, 09 Jul 2015 17:15:19 -0400 Organization: A noiseless patient Spider Message-ID: <877fq9uj6g.fsf@theworld.com> References: <14592326-5070-4663-a864-5684298f3748@googlegroups.com> <004361da-53c4-4ea9-8cc6-38944aa6c7ad@googlegroups.com> <29dd5458-f9ce-4db8-9128-8ab35a9ce5f8@googlegroups.com> <64bc671c-72e5-4924-b703-3b907c69949c@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="e4a1e86015ed9eaa2528c74a06052025"; logging-data="26068"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/XVHu2A9vg26J1WIE1j4WY" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:FwdtOcrvaGvOZje/kUAfzYf3ktM= sha1:egbRfbmvDDZ4EgWAN1+VH5Fqkfg= Xref: news.eternal-september.org comp.lang.ada:26725 Date: 2015-07-09T17:15:19-04:00 List-Id: David Botton writes: > D is lacking - #1 no way to switch braces to begin and end :),... But (and I'm sure you know this), Ada doesn't merely use begin and end. It uses (e.g.) if/else/end if and the like. I don't find Pascal's begin/end syntax any better than C's curly braces; begin/end contains the same information as {}, is more verbose for no reason, and suffers from the dangling else problem, just like C. "if/else/end if" is superior to both -- you can tell what "end if" is the "end" of. And no dangling else. > D is ahead ... Garbage collection (if I recall correctly). - Bob