in reply to Lessons learned from getting to 100% with Devel::Cover
highlighted several redundant areas - along the lines of 'if these preconditions are met, then it is impossible to reach this part of the code'This bothers me a bit, or at least how you might have reacted bothers me.
While I love realizing that I've been overly cautious and have redundant checks, I also wouldn't want to be, umm, underly cautious either. There have been several times when I realized that it would be _useful_ for later code to check that earlier code hadn't mangled necessary preconditions. Read these as 'assertions'.
How _did_ you react - clean up redundancies or total removal?
--
I'm a pessimist about probabilities; I'm an optimist about possibilities.
Lewis Mumford
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Lessons learned from getting to 100% with Devel::Cover
by leriksen (Curate) on Aug 01, 2004 at 12:49 UTC | |
Re^2: Lessons learned from getting to 100% with Devel::Cover
by maetrics (Sexton) on Jul 31, 2004 at 01:06 UTC | |
by Aristotle (Chancellor) on Jul 31, 2004 at 18:39 UTC |