SASDOE asks, “by convention if everyone of my cases returns, should default break and there be a return after the switch or should the default return?”
If the behavior and style is consistent throughout an all-cases switch, I’d perform the return in the `default` case. Only break if there’s a significant difference in how the default case is handled. For example, when you need to perform clean-up work, workarounds, or recovery.
I promised to throw this out there for other opinions and guidance. What do you do?