Advantages to the table lookup code:
- Identifies which functions have a given use with less work than writing a separate package.
- Opens you up for refactoring your code later by dynamically creating closures.
- If you need to later, you can choose to modify the contents of the table hash dynamically without running the risk of namespace conflicts.
And yes, I have gained every one of these benefits from table-driven code. I also know how to do much the same things with typeglobs - but find the hash approach cleaner. I admit that is subjective.
And details like that are nothing compared to the crap variable and function names. I mean, conservation is good and all, but a few more letters wouldn't hurt, would it?