Why does it seem like most programmers prefer to use if/else statements instead of switch/case when the latter is generally faster? - Quora
![Which is better if else or switch case? Comparison between if-else and switch-case | Learning Points - YouTube Which is better if else or switch case? Comparison between if-else and switch-case | Learning Points - YouTube](https://i.ytimg.com/vi/WdO2u3tWl7w/maxresdefault.jpg)
Which is better if else or switch case? Comparison between if-else and switch-case | Learning Points - YouTube
![IF-ELSE IF-ELSE STATEMENT SWITCH-CASE STATEMENT Computer Programming Asst. Prof. Dr. Choopan Rattanapoka and Asst. Prof. Dr. Suphot Chunwiphat. - ppt download IF-ELSE IF-ELSE STATEMENT SWITCH-CASE STATEMENT Computer Programming Asst. Prof. Dr. Choopan Rattanapoka and Asst. Prof. Dr. Suphot Chunwiphat. - ppt download](https://images.slideplayer.com/25/7689100/slides/slide_15.jpg)
IF-ELSE IF-ELSE STATEMENT SWITCH-CASE STATEMENT Computer Programming Asst. Prof. Dr. Choopan Rattanapoka and Asst. Prof. Dr. Suphot Chunwiphat. - ppt download
![performance - Why does Java switch on contiguous ints appear to run faster with added cases? - Stack Overflow performance - Why does Java switch on contiguous ints appear to run faster with added cases? - Stack Overflow](https://i.stack.imgur.com/kbnan.png)