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
In reply to Re: Lessons learned from getting to 100% with Devel::Cover
by shenme
in thread Lessons learned from getting to 100% with Devel::Cover
by leriksen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |