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-14 08:13:40 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!newsswitch.lcs.mit.edu!feed2.onemain.com!feed1.onemain.com!uunet!dca.uu.net!ash.uu.net!xyzzy!nntp From: Jeffrey Carter Subject: Re: List container strawman 1.2 X-Nntp-Posting-Host: e246420.msc.az.boeing.com Content-Type: text/plain; charset=us-ascii Message-ID: <3BF29600.E83E0652@boeing.com> Sender: nntp@news.boeing.com (Boeing NNTP News Access) Content-Transfer-Encoding: 7bit Organization: The Boeing Company X-Accept-Language: en References: <3BECA3B7.5020702@telepath.com> <3BF0247D.4500975E@san.rr.com> <5BXH7.22252$xS6.34813@www.newsranger.com> <3BF052D3.ECEF3FF2@san.rr.com> <3BF19FF8.7FE097EF@boeing.com> <3BF27410.C899A16B@brighton.ac.uk> Mime-Version: 1.0 Date: Wed, 14 Nov 2001 16:04:16 GMT X-Mailer: Mozilla 4.73 [en]C-CCK-MCD Boeing Kit (WinNT; U) Xref: archiver1.google.com comp.lang.ada:16513 Date: 2001-11-14T16:04:16+00:00 List-Id: Ted Dennison wrote: > > In article <3BF27410.C899A16B@brighton.ac.uk>, John English says... > >My vote also goes to First and Last. Apart from anything else, the > >names are then consistent with the corresponding array attributes, > >and consistency is a Good Thing IMHO. > > Are you saying First and List just for the "Position", or for that and for the > Push and Pop routines too? Lists don't have Push and Pop operations. Those are stack operations. If something like Insert (Item => Thing, Into => List, Before => First (List) ); is so common you think you need a special operation for it, then they should probably be called Insert_As_First, Append_As_Last, and so on. -- Jeffrey Carter