Proposed asctime-related changes
Clive D.W. Feather
clive at demon.net
Tue Aug 10 06:03:47 UTC 2004
Paul Eggert said:
>> Doesn't matter for defensive coding. Okay, a value of -INT_MAX will print
>> as "Tue" rather than "???", but who cares?
> We're talking about code that attempts to defend against nonexistent
> system bugs of a class that one cannot defend against in general. So
> to some extent we've gone off the deep end already. As long as we're
> going to such extremes, we might as well have the code output an
> appropriate danger signal (in this case "???") whenever any underlying
> problem can easily be detected.
In which case, wouldn't judicious use of assert() be even better?
Point taken, though.
Clive D.W. Feather | Work: <clive at demon.net> | Tel: +44 20 8495 6138
Internet Expert | Home: <clive at davros.org> | Fax: +44 870 051 9937
Demon Internet | WWW: http://www.davros.org | Mobile: +44 7973 377646
Thus plc | |
More information about the tz