Python dictionaries are awesome

Steven D'Aprano steve+comp.lang.python at pearwood.info
Mon Nov 26 21:32:10 EST 2012


... especially when you consider how some other languages implement them.


http://twistedoakgames.com/blog/?p=925

[quote]
Here’s the hypothetical situation: you’re making a flash game. In that 
game users can create named profiles. You store the profiles, keyed by 
their name, so that you ca- OOPS, you just introduced a bug. What’s the 
problem? The dictionary.
[end quote]




-- 
Steven



More information about the Python-list mailing list