lambda
John Lenton
john at grulic.org.ar
Mon Jan 17 10:15:56 EST 2005
On Mon, Jan 17, 2005 at 11:41:20AM +0000, Antoon Pardon wrote:
> Op 2005-01-17, Steve Holden schreef <steve at holdenweb.com>:
> > Antoon Pardon wrote:
> > [...]
> >>>"A foolish consistency is the hobgoblin of little minds". Rules are made
> >>>to be broken.
> >>
> >>
> >> Like only use immutables as dictionary keys.
> >>
> > Fair enough, but don;t go advising newbies to do this.
>
> How about something like this.
>
> Because of the extra precautions one has to take when
> using mutables as hash keys, we advise newbies
> to stick with immutable keys until they have gathered
> enough knowledge and experience to adequatly weight
> the pro and cons of a mutable key solution against
> an immutable key solution.
knowledgeable and experienced users know when to ignore the rules.
--
John Lenton (john at grulic.org.ar) -- Random fortune:
Una buena gran parte del arte del bien hablar consiste en saber mentir con
gracia.
-- Erasmo de Rotterdam. (1469-1536).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20050117/95271ef4/attachment.sig>
More information about the Python-list
mailing list