[EMAIL PROTECTED] wrote:
> But (unless I don't get it, here) this uses exactly what I am trying to
avoid using: an 'if statement for each possible refinement. I agree it's
easier and more straight forward, but it also creates more work to maintain
(such as when refinements are added to a function). Since I use this
"pass-through of refinements" idea as a common practice in my program, the
added maintenance adds up.

It's only one 'if per refinement that's to be passed through. It avoids
multiple combinations of 'ifs. For each refinement added, it's only one
extra 'if to write. I believe that this approach is only a small price to
pay.
    If you're commonly passing refinements through to subfunctions, consider
restructuring your software. It may be better to use a different approach,
perhaps using objects?

YMMV. :-)

Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
-><-

Reply via email to