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 _______________________________________________ Python-3000-checkins mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000-checkins
