Avoiding local variable declarations?

Arnaud Delobelle arnodel at googlemail.com
Thu Nov 13 23:15:28 CET 2008


dpapathanasiou <denis.papathanasiou at gmail.com> writes:

>> but what's wrong with you original code?
>
> I come from a functional programming school of thought, where you
> avoid local variable declarations if at all possible.

Holding on to this principle won't help you write nice Python code :)

Although you will acquire lots of clever-looking tricks.

-- 
Arnaud



More information about the Python-list mailing list