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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f51e93dacd9c7fca X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-18 07:13:22 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!nntp.abs.net!uunet!dca.uu.net!ash.uu.net!world!news From: Robert A Duff Subject: Re: status of Ada STL? Sender: news@world.std.com (Mr Usenet Himself) Message-ID: Date: Tue, 18 Jun 2002 14:12:58 GMT References: NNTP-Posting-Host: shell01.theworld.com Organization: The World Public Access UNIX, Brookline, MA X-Newsreader: Gnus v5.7/Emacs 20.7 Xref: archiver1.google.com comp.lang.ada:26238 Date: 2002-06-18T14:12:58+00:00 List-Id: "SteveD" writes: > If you look at type definitions you have: > > type mytype is > record > ... > end record; I wish it were "end My_Type", instead of "end record", especially when the record contains 10 lines of components, and 30 lines of comments. > I would much prefer: > type mytype is abstract tagged > record > null; > end record > methods > procedure MyProc1( value : mytype ); > end methods; Not an entirely unreasonable complaint, but I don't think the above would work very well. At least it raises questions: Where would you put the class-wide ops? Where would you put the exceptions and generics that are "related" to mytype but not primitive? Anyway, the *usual* practise is to have one type (or one "major" type) per package, so "end Package_Name" serves the purpose well enough. - Bob