in reply to Refactor method calls or not?
Somewhat offtopic, while I regret that I unfortunately don't have a lot of insight into the Perl solution to this problem, as the (or one of the) resident Common Lisp advocate (or troll, if you wish :-) this is exactly the kind of thing we Lispers like our macro system for. It's fairly easy to write a CL macro that takes the method name and table name and creates an appropriate method, then just call it twice to get the specific methods that you need (and of course, it would still be sitting around if more were needed in the future).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Refactor method calls or not?
by Aristotle (Chancellor) on Jan 20, 2002 at 14:13 UTC | |
by hding (Chaplain) on Jan 21, 2002 at 02:06 UTC | |
by Aristotle (Chancellor) on Jan 21, 2002 at 03:56 UTC | |
by hding (Chaplain) on Jan 21, 2002 at 05:22 UTC | |
by tilly (Archbishop) on Jan 22, 2002 at 05:44 UTC |