in reply to Better rewrite of multiple ifs
I asked a similar question a while ago and got some good answers.