On Mon, 14 Jun 2010, Jeff Johnson wrote:
The other approach is "Punish the moron. NOW!" LART 'em w a ruler and add assert's throughout the code on "can't happen" conditions.
A kinder, gentler person might say: die loudly and early when an error is detected, rather than guess after an unknown state transition and remove the value judgments of 'punish' and 'moron' ;) you know -- refusenik style -- Russ herrold ______________________________________________________________________ POPT Library http://rpm5.org Developer Communication List popt-devel@rpm5.org