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,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a9bab26b6fe54a36 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!cs.uu.nl!news.stack.nl!aioe.org!.POSTED!not-for-mail From: anon@att.net Newsgroups: comp.lang.ada Subject: Re: Pondering what rationale behind record type Date: Fri, 20 May 2011 06:10:50 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: Reply-To: anon@anon.org NNTP-Posting-Host: E6HcyxyaC5AVce0Rz+Vvlw.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: IBM NewsReader/2 2.0 Xref: g2news2.google.com comp.lang.ada:20302 Date: 2011-05-20T06:10:50+00:00 List-Id: All specification for executable units that have both public and private declarations such as task and protected (since Ada 95) types have the same basic design. "type" [ discriminant part ) is declaration section private declaration section end And To change it to now for Ada 2012. For what reason? The difference is the task and protected types defines an executable unit while normally type declarations define data objects. It is easier and less misunderstood to keep the two designs structures separate. And I think it would cause a bigger problem in the Ada programming community. Too many design changes causes too many re-writes of existing code to use on newer systems. Plus, there's the learn curve which as been a big problem for Ada from the start. Every time someone learns a version of Ada there's a new one coming out that contains too many changes with a few changes having no real reason for that change. That happen when Ada first came out. When programmers finally had a working knowledge of Ada 83. Then Ada 95 comes out with some improvement and a lot of changes to Ada 83. And no concern or corrections for compiler checkable "Erroneous Errors". Some Ada programmers spent their time back learning the new rules and rewriting a lot of Ada 83 code. While others say too many new rules and drop Ada for a less altered language like as C. So, you could say this type of concepts is just another nail to hurt Ada. In , Anh Vo writes: >Some time I am wondering why record type has different syntax pattern >than the rest with respect to type ending text. That is it ends with >'end record;' no matter what the identifier is. The rest of others end >with 'end identifier'. Below are examples regarding this subject. > >type Data is record > X_Coord : Integer := 0; > Y_Coord : Integer := 0; > -- more components >end record; > >task type Event_Monitor is > entry Start; > entry Process (...) >end Event_Monitor; > >Anh Vo