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

Serhiy Storchaka storchaka at gmail.com
Tue Jun 11 11:55:14 EDT 2013


11.06.13 06:02, Steven D'Aprano написав(ла):
> On Mon, 10 Jun 2013 19:36:44 -0700, rusi wrote:
>> And so languages nowadays tend to 'protect' against this feature.
>
> Apart from Erlang, got any other examples?

C#? At least local variable can't shadow other local variable in outer 
scope (and it looks reasonable). I'm not sure about globals and instance 
fields.





More information about the Python-list mailing list