|
From: Cary R. <cy...@ya...> - 2008-04-19 01:35:27
|
--- On Fri, 4/18/08, Stephen Williams <st...@ic...> wrote:
> Or have it return an enum with a range:
>
> ~ NO_DELAYS = 0
> ~ NO_KNOWN_DELAYS = 1
> ~ KNOWN_DELAYS = 3
If this is the route I go I think it should be NO_DELAY, POSSIBLE_DELAY and DEFINITE_DELAY. I think the code will be cleaner if we pass a control flag vs checking both possibilities and combining them correctly. Can you think of a case where we would need to know the three different states?
Cary
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
|