Terry Hancock wrote:
However, I used to make "off by one" errors all the time in both C and Fortran,
whereas I hardly ever make them in Python.

This should probably be the overriding concern in this case.

I can't remember the last time I made an off-by-one error
in Python (or, really, whether I ever have), whereas I
can't remember the last C program I wrote which didn't have
one.

So I like Python's slicing because it "bites *less*" than intervals in C or Fortran.

+1 QOTW -- http://mail.python.org/mailman/listinfo/python-list

Reply via email to