On Tuesday 25 April 2006 16:19, Neil Schemenauer wrote:
 > 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.

Yeah, we generally need both.  These are important use cases for immutable 
binary data.  It doesn't need a corresponding constructor in __builtin__ 
(IMO), but it's a common type to need.


  -Fred

-- 
Fred L. Drake, Jr.   <fdrake at acm.org>
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to