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,ac39a12d5faf5b14 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-20 23:09:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!kibo.news.demon.net!news.demon.co.uk!demon!pogner.demon.co.uk!zap!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Grace and Maps (was Re: Development process in the Ada community) Date: 21 Apr 2002 06:46:53 +0100 Organization: Pushface Message-ID: References: <3CB46975.90408@snafu.de> <3CBAFFEE.2080708@snafu.de> <4519e058.0204171036.6f0a7394@posting.google.com> <3CBDD795.4060706@snafu.de> <4519e058.0204180800.44fac012@posting.google.com> <3CBF0341.8020406@mail.com> <4519e058.0204190529.559a47ae@posting.google.com> <3CC1C6B3.6060306@telepath.com> NNTP-Posting-Host: localhost X-NNTP-Posting-Host: pogner.demon.co.uk:158.152.70.98 X-Trace: news.demon.co.uk 1019369284 nnrp-08:6640 NO-IDENT pogner.demon.co.uk:158.152.70.98 X-Complaints-To: abuse@demon.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Date: 21 Apr 2002 05:46:53 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: archiver1.google.com comp.lang.ada:22855 Date: 2002-04-21T05:46:53+00:00 List-Id: Ted Dennison writes: > Another possiblity would be to keep the name simple (Grace.Lists), > and give the bounded version its own name when/if the time > comes. Something like "Circular_Lists" (or Booch's "Ring") might be > a possibility. This concept extends to Maps too, as we could call > them "Maps" and "Hashes" rather than "Maps.Unbounded" and > "Maps.Bounded". Not only is this a simpler structure, we no longer > have the name talking about internal features of the structure > instead of external features. That could be good enough for > real-time and embedded folks if we document its use (or lack of use) > of heap properly. That seems plain peculiar to me. The BC "Collection" and "Ring" have quite different semantics because they support different concepts. Collection.Bounded and Collection.Unbounded are different because they have different runtime behaviour, but they both have the same interface! In this respect they map onto Ada.Strings, I think.