[melbourne-pug] python question
William ML Leslie
william.leslie.ttg at gmail.com
Tue Apr 3 05:37:46 CEST 2012
On 3 April 2012 12:25, Andreux Fort <andrew.fort at gmail.com> wrote:
> short answer: python is "pass by reference to value", meaning you should
> follow Google's style guide and only import packages or modules, never
> things inside modules
Alternatively, don't rebind global names. I can count the number of
times I've seen the global statement used in real code on the hand of
a yakuza. If your module definitions are declarative, this should
never be an issue.
--
William Leslie
More information about the melbourne-pug
mailing list