Interpreting Left to right?
Chris Angelico
rosuav at gmail.com
Fri Jun 24 03:46:40 EDT 2011
More information about the Python-list mailing list
Fri Jun 24 03:46:40 EDT 2011
- Previous message (by thread): Interpreting Left to right?
- Next message (by thread): Interpreting Left to right?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Jun 24, 2011 at 5:14 PM, Ethan Furman <ethan at stoneleaf.us> wrote: > --> x = x['huh'] = {} > --> x > {'huh': {...}} > I would have to call that dodgy practice... unless you have a lot of places where you need a dictionary with itself as an element, I would avoid assignments that depend on each other. Perhaps it's just because I'm a C programmer, but that code smells a lot like the classic "i = i++;" blunder - nearly as bad as land wars in Asia. ChrisA
- Previous message (by thread): Interpreting Left to right?
- Next message (by thread): Interpreting Left to right?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list