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-Thread: 103376,73cb216d191f0fef X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.68.210.15 with SMTP id mq15mr2214005pbc.2.1363300900526; Thu, 14 Mar 2013 15:41:40 -0700 (PDT) Path: jm3ni50363pbb.0!nntp.google.com!news.glorb.com!news2.arglkargh.de!news.albasani.net!news.szaf.org!news.gnuher.de!news.enyo.de!.POSTED!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Is this expected behavior or not Date: Thu, 14 Mar 2013 23:41:40 +0100 Message-ID: <87mwu5y57f.fsf@mid.deneb.enyo.de> References: <8klywqh2pf$.1f949flc1xeia.dlg@40tude.net> <513f6e2f$0$6572$9b4e6d93@newsspool3.arcor-online.net> <513faaf7$0$6626$9b4e6d93@newsspool2.arcor-online.net> <51408e81$0$6577$9b4e6d93@newsspool3.arcor-online.net> Mime-Version: 1.0 X-Trace: news.enyo.de 1363300899 938 172.17.135.6 (14 Mar 2013 22:41:39 GMT) X-Complaints-To: news@enyo.de Cancel-Lock: sha1:+paKODc6Xlzca5gn97AnVzAKOxU= Content-Type: text/plain; charset=us-ascii Date: 2013-03-14T23:41:40+01:00 List-Id: * Simon Wright: > I don't remember ever using 'Pred/'Succ, but I'd sorely miss > 'First/'Last. Personally, I find it rather odd that array bounds are preserved by slicing. This feature doesn't come for free, and leads to slightly more verbose code without conveying useful information. On the other hand, it makes array indexing effectively zero-based, which I find more natural.