code critique requested - just 60 lines
Terrence Brannon
metaperl at gmail.com
Fri Oct 3 05:24:46 EDT 2008
On Oct 2, 11:09 am, Steven D'Aprano <st... at REMOVE-THIS-
cybersource.com.au> wrote:
> On Thu, 02 Oct 2008 07:51:30 -0700, Terrence Brannon wrote:
>
> > Basically, using non-strict dictionary keys can lead to bugs, so that
> > worried me.
>
> What's a "non-strict dictionary key"?
>
In Perl, you can pre-define what keys are allowed in a dictionary.
That way, mis-spelling the dict key doesnt lead to accessing something
didnt mean to.
More information about the Python-list
mailing list