"Don't rebind built-in names*" - it confuses readers

Mark Lawrence breamoreboy at yahoo.co.uk
Tue Jun 11 12:29:44 EDT 2013


On 11/06/2013 16:43, Rick Johnson wrote:
> On Tuesday, June 11, 2013 8:34:55 AM UTC-5, Steven D'Aprano wrote:
>
>> GvR is saying that it's okay to use the names of built-in functions or
>> types as the names of local variables, even if that causes the built-in
>> to be inaccessible within that function.
>
> Looks like we've finally found the traitor! Code smells propagating down from the apex of the pyramid... well thanks for the wonderful advice Guido, and with it you've cursed Python's stdlib to another decade of unprofessional code!
>
> PS: Excuse me whilst i brew myself a nice cup of HEMLOCK TEA!!! ಠ_ಠ
>

At long last I've received some good news.  But blast it, you've only 
said you'll brew it, not that you'll drink it.  Still, I can but hope.

-- 
"Steve is going for the pink ball - and for those of you who are 
watching in black and white, the pink is next to the green." Snooker 
commentator 'Whispering' Ted Lowe.

Mark Lawrence




More information about the Python-list mailing list