A switch statement is essentially the same as a series of "if" and "else-if" statements. "So, what's the point of even having a switch statement", you may ask. Well, it's simple to use, logical in syntax, and most importantly, many programmers swear by it. You don't have to adopt it when writing conditional statements; in fact, you won't even notice a difference. But as my old science teacher used to say "Try it, you'll like it!"
(http://www.javascriptkit.com/javatutors/switch.shtml)
---
programer popularity > efficient
> expireressive
> elegant
>= orthagonal
> mathematics elegnat
basically PROGRAMER POPULARITY is the 1 criteria to select language featureful
thanx u the internet 4 teach me this valua PL lesson |