Skip to content
Insights & Iterations Making sense of AI: technical, everyday, & reflections.

#quality

Examining the Case for Switch Statements
Examining the Case for Switch Statements

December 6, 2015 • 10 min read

For nearly 50 years, the switch statement (also known as the case statement) has been an integral part of programming. In recent years, however, some are claiming that the switch statement has outlived its usefulness. Others go even further by labeling the switch statement as a code-smell.