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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a644fa9cd1a3869a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-12 08:12:42 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!psinet-eu-nl!psiuk-p4!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: List container: Insert and Delete Date: Mon, 12 Nov 2001 10:42:37 -0500 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9soqlf$bkp$1@nh.pace.co.uk> References: NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1005579759 11929 136.170.200.133 (12 Nov 2001 15:42:39 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 12 Nov 2001 15:42:39 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:16330 Date: 2001-11-12T15:42:39+00:00 List-Id: I think the semantics become "This is what this particular package *does* do and it is consistent across all similar containers." It doesn't have to be mathematically rigorous to be useful. It doesn't have to have any one specific behavior to be useful - provided that whatever behavior it has allows you to get the job done in *some* manner and is not too horribly inconvenient to do. The important thing is that it be USEFUL - not that it satisfies perfect behavior in every case. If the user does something hopelessly impossible, raise an exception. If the user does something stupid, but consistent with the defined behavior - let him do it and move on. You can't always save people from themselves. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Steven Deller" wrote in message news:mailman.1005537083.14431.comp.lang.ada@ada.eu.org... The semantics are "obvious" as long as positions are "between" elements and not "on" elements.