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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6aa1ec264ce25142,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.180.88.195 with SMTP id bi3mr2237864wib.3.1346141582486; Tue, 28 Aug 2012 01:13:02 -0700 (PDT) Path: e9ni53373545wia.0!nntp.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Real syntax problems in Ada Date: Tue, 28 Aug 2012 10:13:08 +0200 Organization: cbb software GmbH Message-ID: <1p5r39cusgc1n$.18nj9sytckk6$.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-08-28T10:13:08+02:00 List-Id: What are real problems with Ada syntax as opposed to the imaginary ones (e.g. Ada does not look like C, Forth, Elder Futhark, you name it)? My short list: 1. Too many unnecessarily reserved keywords; 2. "end record" instead of "end "; 3. "task type" and "protected type" instead of "type T is task ..."; 4. "overriding procedure Foo" instead of "procedure Foo is overriding"; 5. "X : T := E", but "procedure X is "; 6. Lack of per point notation for nD array aggregates, e.g. Diag : Matrix := ((1,1)=>1.0, (2,2)=>1.0, (3,3)=>1.0, others => 0.0); 7. "exception" must be required in the bodies of tasks, Initialize, Finalize (however, this could be resolved by non-syntactic means, e.g. by contracted exceptions); 8. The order in which the keywords "new", "interface", "limited", "abstract", "tagged", "private" may appear should be free. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de