REORDER: Switch/Case & User Input Prompts

It might help readability, but does it have any difference come execution? I seem to remember @peternlewis saying that all conditions were evaluated simultaneously and that there was no short-circuiting.

Ah, found it (or rather another reference to the same, since this was before my time):

So it seems to be a lot of work for little actual return.

3 Likes