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, LOTS_OF_MONEY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e382b50ddc696050 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-10 08:09:52 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 Strawman JC01 Date: Mon, 10 Dec 2001 10:46:49 -0500 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9v2ldc$m67$1@nh.pace.co.uk> References: <3C0DB9D0.7184868A@acm.org> <3C0EB851.77E7172A@boeing.com> <3C0FAF78.6F006DF7@boeing.com> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1007999212 22727 136.170.200.133 (10 Dec 2001 15:46:52 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 10 Dec 2001 15:46:52 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:17677 Date: 2001-12-10T15:46:52+00:00 List-Id: O.K. How about the "Red" end of the list and the "Blue" end of the list? :-) To stick with a more Ada flavor: use of 'First and 'Last consistency is good - as would be imitating Ada.Strings and having "type Direction is (Forward, Backward);" (implying a 'Front and 'Back - of sorts). I'd personally vote for a Front and Back as this would be consistent with what I have usually seen with double-ended lists & could be made consistent with Ada.Strings. Or we could see what kinds of names have been given to such things in other libraries & be consistent with common usage if such exists. Or perhaps some of the academics can let us know if there is a consistent usage in Data Structures books? 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/ "Ted Dennison" wrote in message news:rk8Q7.53164$xS6.87831@www.newsranger.com... > > Quite True. But you can find the ends, and we do have to arbitrarily label each > end *something*. We just have to find nice linear but direction-neutral > somethings to name them. >