in reply to Default Dropdown Value

Which solution would you use and why? Or, would you use something else? Why? (I stayed with the original).

Well ... I can't tell what solution I would use to write the original, but once I wrote it and it did what it was supposed to, I wouldn't refactor for readability, I would add documentation describing the algorithm