switch statements basically almost as useless as
prompt() in “real” code?
Like, I can’t imagine how to incorporate a
switch within a loop for anything more complicated than “demonstration” code…it seems like
switch is the kind of thing in its own little world (like
prompt()), with very narrow use-cases…am I right?
I ask 'cause I can see how
switch would be sooooo much more “elegant” than using a bunch of
if-else-if-else statements but the problem for me lies in being able to break in and out of
Thanks for all insight!!