Well, yes.
However, in my (somewhat limited) experience I've found that these things tend to grow over time, and before you know it you have to add another test condition, and then another, ....
So whilst I agree with what you say, the point of my response was to make the OP aware of dispatch tables as an option for when things start to get a little unwieldy.
Cheers,
Darren :)
| [reply] |