Case Statements
Mark Lawrence
breamoreboy at yahoo.co.uk
Tue Mar 15 19:58:37 EDT 2016
On 15/03/2016 23:47, jj0gen0info at gmail.com wrote:
>
> Thanks for the informative post. I've read it and disagree with the rational, it places Python in a decided minority of the major languages.
>
> https://en.wikipedia.org/wiki/Conditional_(computer_programming)#Case_and_switch_statements
>
> See section "Choice system cross reference"
>
> Thanks again for the reply
>
> JJ
>
If the Python core developers have decided it isn't needed, as perhaps
explained in my link about the "Switch Statement Code Smell", why worry
about it?
If you really think you need one start here
http://code.activestate.com/recipes/269708-some-python-style-switches/
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
More information about the Python-list
mailing list