[Python-ideas] 0-base and 1-base indexed iterables? Custom slicing rules?

David Mertz mertz at gnosis.cx
Sun Mar 22 20:52:40 CET 2015


The strongest proof that mixed index bases are a bad idea is that this is a
valid statement in VB6:

  Dim array(1 to 10) as Integer

For all X, if VB6 allows X, then X is a bad idea. :-)

-- 
Keeping medicines from the bloodstreams of the sick; food
from the bellies of the hungry; books from the hands of the
uneducated; technology from the underdeveloped; and putting
advocates of freedom in prisons.  Intellectual property is
to the 21st century what the slave trade was to the 16th.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150322/e1fd40a1/attachment.html>


More information about the Python-ideas mailing list