3 ms·
Ah yes, but don't forget this is all changing in Python 4 :) -- remember the "List Revolution" thread when Guido finally agreed to switch to 1-based indexing...
by espeed 13y ago
Ah yes, but don't forget this is all changing in Python 4 :) -- remember the "List Revolution" thread when Guido finally agreed to switch to 1-based indexing...
On Fri, Sep 9, 2011 at 2:12 PM, Christopher King <g.nius.ck at gmail.com> wrote:
> The first element in a list is element zero, the second is one, the third it
> two, and so on. This some times confuses newbies to the language or
> programming in general. This system was invited when single bits where
> precious. It's time to update. Keep in mind this is something for version 4,
> since its not reverse compatible. I say we make the first element 1, second
> 2, third 3, and so on. Other languages would follow. We are python, made for
> easiness and readability, and we are in the age where you can't even get
> something as small as a kilobyte USB. We must make first one, second 2, and
> third 3, like it is supposed to be. I give this:
> +1
Consider it done.
--
--Guido van Rossum (python.org/~guido)
Source: https://mail.python.org/pipermail/python-ideas/2011-September/011448.html https://mail.python.org/pipermail/python-ideas/2011-Septembe...
- ssafejava 13y agoFunny thread, but just in case somebody takes it seriously: (And to those taking the thread seriously: this is all in jest. We won't change the indexing base. The idea is so preposterous that the only kind of response possible is to laugh with it.) --Guido https://mail.python.org/pipermail/python-ideas/2011-September/011462.html https://mail.python.org/pipermail/python-ideas/2011-Septembe...