The aesthetical "correctness" of code will vary depending on one's point of view, but I think your concerns stem more from my question than ikegami's answer. I asked for a way to avoid duplicating the context-checking logic, and he provided it. I happen to think his is a very nice solution, but of course reasonable folks can disagree.
In reply to Re^3: Maintaining context of the caller
by revdiablo
in thread Maintaining context of the caller
by revdiablo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |