On 26/11/20 2:30 am, nathan.w.edwa...@outlook.com wrote:
At times I heavily rely on index out of bound exceptions to reduce the number of lines necessary for error checking.

This is a downside to the negative indexing scheme -- you
can't tell the difference between a backwards index and an
error due to out-of-bounds indexing. Making all indexing
circular would just make this problem heaps worse.

I would have preferred a different syntax for backwards
indexing instead of inferring it from the index value,
but we're stuck with it now.

--
Greg
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/H63U2OIFC3PIDL3SCXYO3C5BRVF24WTS/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to