dynamic assigments
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Fri Mar 25 01:46:13 EDT 2011
On Thu, 24 Mar 2011 17:26:34 -0500, Chris Rebert wrote:
> On Thu, Mar 24, 2011 at 1:39 PM, Seldon <seldon at katamail.it> wrote:
>> Hi, I have a question about generating variable assignments
>> dynamically.
>
> This can frequently be a code smell.
Is there any time when it's not a code smell? A code smell is something
that makes you go "Hmmm..." (or at least, it *should* do so), not
necessarily the wrong thing.
--
Steven
More information about the Python-list
mailing list