More On the Strange Problem

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Wed Dec 23 16:40:21 EST 2009


On Wed, 23 Dec 2009 19:03:36 +0000, MRAB wrote:

>>     if whatDo == 'insert':
>>       theVal = defaultVal
>>       val = defaultVal
>> 
> What's the difference between theVal and val? The names don't help me!

Oh MRAB! Isn't it obvious? theVal has a leading definite article while 
val doesn't!

Really MRAB, if you can't comprehend such clear and obvious code, you'll 
never be a good programmer!


-- 
Steven



More information about the Python-list mailing list