Slicing history?

Aahz aahz at pythoncraft.com
Sun Nov 15 23:06:47 CET 2009


In article <667394cb-d505-4906-8c6b-ab2d361b3a4d at j24g2000yqa.googlegroups.com>,
Mark Dickinson  <dickinsm at gmail.com> wrote:
>On Nov 15, 6:50=A0pm, a... at 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 (aahz at 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



More information about the Python-list mailing list