
Nov. 17, 2008
2:39 a.m.
On Sun, Nov 16, 2008 at 9:21 PM, Scott Dial < scott+python-ideas@scottdial.com <scott%2Bpython-ideas@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. George