in reply to Really Long if/elsif/else blocks

If the problem you're trying to solve is readability, dispatch tables are quite valid. You can still iterate over conditions, check return values, and so on, except in a fashion that is a lot clearer than what you have now. What is the magic bullet you are looking for? You have a lot of refactoring to do, no simple way out.