pylint -- should I just ignore it sometimes?
Jean-Michel Pichavant
jeanmichel at sequans.com
Thu Oct 21 10:30:59 EDT 2010
>> You
>> won't be that happy everyone wrote their mail in this list like a mobile
>> text message, if u c what I mean.
>>
>
> I never suggested that. What I am trying to get across is that long names
> are not automatically better than short names, and even one letter names
> can be as good or better than long names *when appropriate*.
>
>
>
You misunderstood my point, I'm not pro long names, I'm pro descriptive
names, It can be short if descriptive:
for o, c in cars:
park(o)
phone(c)
for owner, car in cars: # by just using meaningful names you give the
info to the reader that you expect cars to be a list of tuple (owner, car)
park(owner)
phone(car) # see how it is easier to spot bug
JM
More information about the Python-list
mailing list