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,a644fa9cd1a3869a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-10 08:24:41 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!ppp-1-117.cvx1.telinco.NET!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: List container: Insert and Delete Date: Sat, 10 Nov 2001 16:23:48 -0000 Message-ID: <9sjkc7$145mhb$1@ID-25716.news.dfncis.de> References: <3BECA3B7.5020702@telepath.com> <9sjf4n$odm$1@news.huji.ac.il> NNTP-Posting-Host: ppp-1-117.cvx1.telinco.net (212.1.136.117) X-Trace: fu-berlin.de 1005409480 37935659 212.1.136.117 (16 [25716]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: archiver1.google.com comp.lang.ada:16220 Date: 2001-11-10T16:23:48+00:00 List-Id: Sorry, but I want to draw attaention to a post I have made (which may have got lost in another thread for some readers) in which I hopefully demolish the idea that Insert or Delete is needed in a list container. You don't need a 'Position' type (you have an implicit position in the list object itself). All the horrible shinanigans related to insert and delete can and should be completely avoided. I'll re-post my demo of why, if you like. Again, I implore you not to make this terrible design mistake (and I'm sure it is). To use one of my amusing analogies, it's a bit like watching people having an earnest discussion of whether to have 10 or 12 wings on a jet fighter. -- Best wishes, Nick Roberts