Re: New switch/case idea
- Posted by DanM Apr 06, 2009
- 1762 views
jeremy said...
Since we are still talking about it (although I have no problems what-so-ever of switch X do), another option is choose X from
-D
Jeremy
FWIW, I very much prefer your suggestion of choose over switch, although I don't exactly see how the meaning of the word "choose" differs much from "select", which I also strongly prefered over "switch" for the sake of more easily understanding what the statement means, for those like myself who are or have been unfamiliar with the term "switch" as a programming statement.
And I also like the use of "from" in the statement, because it also helps make the usage/meaning clearer.
Dan