the main caveat is that each case function will be executed until a match is found, however, this would not be any different from doing the same thing using if/else.
note: i am not advocating this method, it's just something i've never seen done before and thought it was interesting enough to share.