list Integer indexing dies??

Mike Meyer mwm at mired.org
Sat Dec 25 00:26:35 CET 2004


Ishwor <ishwor.gurung at gmail.com> writes:

> On Fri, 24 Dec 2004 05:44:50 -0600, Mike Meyer <mwm at mired.org> wrote:
>> Ishwor <ishwor.gurung at gmail.com> writes:
>> 
>> > On 23 Dec 2004 14:28:37 GMT, Antoon Pardon <apardon at forel.vub.ac.be> wrote:
>> > My experience as a learner here is that there should be some
>> > automagics & say like "okay you want to do indexing on integers (
>> > context dependent); i'll give you the index of 0th position in that
>> > integer" ???
>> 
>> Python doesn't do things automagically. The rules for pythonic
>> behavior include "Explicit is better than implicit" and "In the face
>> of ambiguity, refuse the tempation to guess." Both of those are
>> violated by automatic conversions and the like.
>> 
>
> Well *shrugs* that was just an opionion though a bad one from a
> beginner :-)... No hard feeling pythoner friends. ;-) and Merry
> Christmas to you all ;-)
> Then gingerbread is ready at
> http://www.mediatinker.com/blog/archives/008798.html 

I'm aware that it was an opinion from a beginner. I thought it was
worth pointing out *why* this was a bad opinion in Python. I certainly
didn't intend to offend or insult anyone by doing so.

       <mike
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list