Angular JS
There are many unpleasant things about using switch: the procedural control flow, the non-standard syntax of code blocks – in javascript, curly braces are used as standard, in the switch construct they are not. In general, switch syntax is not the best example of javascript. We have to manually add a break for each case, … Read More “Problems with switch” »