In article <667394cb-d505-4906-8c6b-ab2d361b3...@j24g2000yqa.googlegroups.com>, Mark Dickinson <dicki...@gmail.com> wrote: >On Nov 15, 6:50=A0pm, a...@pythoncraft.com (Aahz) wrote: >> >> Anyone remember or know why Python slices function like half-open >> intervals? =A0I find it incredibly convenient myself, but an acquaintance >> familiar with other programming languages thinks it's bizarre and I'm >> wondering how it happened. > >Sounds like an excuse to post this Dijkstra link: > >http://www.cs.utexas.edu/~EWD/ewd08xx/EWD831.PDF
Many thanks! -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." --Brian W. Kernighan -- http://mail.python.org/mailman/listinfo/python-list