|
When reporting errors, should we get the error to be reported in the procedure that is being called, or if we know a subsequent procedure call will pick it up, can we wait until then? For example, the min_ratintvl->rational and max_ratintvl->rational both test if the input is a ratintvl. The member_ratintvl? procedure needs to also do that, but in the rest of that procedure, I use min_ and max_ratintvl->rational, which would catch the error of the intput not being a ratintvl...so do I also need to check in member_ratinvl? to see if it is not a ratintvl, in addition to min_ and max_?
|
My thoughts by Mark Kittisopikul, 2002, Nov 07
more thoughts by Nathan Krapf, 2002, Nov 07
Even more thoughts by Mark Kittisopikul, 2002, Nov 07
Leave the efficiency issue for later by Mike O'Donnell, 2002, Nov 07
Both techniques accomplish a report, but immediate reporting is more robust by Mike O'Donnell, 2002, Nov 07
to: