On Wed, Jan 28, 2009 at 7:26 PM, Andrei Alexandrescu
<seewebsiteforem...@erdani.org> wrote:
> Python:
> lst[0]
> lst[len(lst)-1]

Or more concisely, lst[-1].

> So please let's vote once and for all. No choice will please everybody, but
> I want to settle for something that at least won't displease the most
> vehement ones :o).

first/last would be my first choice.  head/last would also be fine,
and is in keeping with, uh pretty much everything else, it seems.

Reply via email to