Code Smell 221 - Missing Break in Switch
TL;DR: Cases are GOTOs, but you might be missing them
Problems
Hidden defects
Readability
Solutions
Add the missing break
Convert the switch into a polymorphic hierarchy
Remove the default switch
Context
In a switch statement, when a match ...
maximilianocontieri.com2 min read