[Python-ideas] [Python-Dev] Inclusive Range
bruce at leapyear.org
Wed Oct 6 01:48:08 CEST 2010
With 1-based indexes, sometimes you have to add 1 and sometimes subtract 1
and sometimes neither. 0-based indexes avoid that problem.
Personally, I think changing any of this behavior has about the same
probability of success as adding
On Tue, Oct 5, 2010 at 4:33 PM, Greg Ewing <greg.ewing at canterbury.ac.nz>wrote:
> Carl M. Johnson wrote:
>> just curious about whether starting programmers have a strong
>> preference for one or the other convention or whether both are
> Starting programmers don't have enough experience to judge
> which will be less confusing in the long run, so their
> opinion shouldn't be given overriding weight when designing
> a language intended for real-life use.
> Speaking as an experienced programmer, I'm convinced that
> Python has made the right choice. Not because Dijkstra or
> any other authority says so, but because of my own personal
> Python-ideas mailing list
> Python-ideas at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas