[Python-ideas] Smallest/Largest singletons

George Sakkis george.sakkis at gmail.com
Mon Nov 17 03:39:52 CET 2008

On Sun, Nov 16, 2008 at 9:21 PM, Scott Dial <
scott+python-ideas at scottdial.com <scott%2Bpython-ideas at scottdial.com>>wrote:

George Sakkis wrote:
> >> Using special objects to be lazy with your algorithm will never be
> >> wise.
> >
> > s/lazy/elegant
> To each his own, but your substitution fails to convince me that magic
> values are more readable than using a "valid" flag variable.

So the concept of infinity is a "magic value" and a flag variable is not ? I
bet you find C-like error codes more readable than exceptions too.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20081116/88e1ee3c/attachment.html>

More information about the Python-ideas mailing list