[Python-3000-checkins] r45652 - in python/branches/p3yk
Neil Schemenauer
nas at arctrix.com
Tue Apr 25 22:19:52 CEST 2006
On Tue, Apr 25, 2006 at 11:33:34AM -0700, Guido van Rossum wrote:
> Have you ever encountered that use case in practice? (That's what I
> meant by YAGNI. :-)
Yes, I know what YAGNI means. The example that immediately comes to
mind is ZODB and Durus. They use 8-byte binary strings to represent
object IDs. Memory efficiency is important.
Another example would be using a SHA-1 hash as a key. I don't
recall if I have written such code but message digests are so common
I don't think you can call YAGNI.
Neil
More information about the Python-3000-checkins
mailing list