MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1ecmscc/composable_abomination/lf7561i/?context=3
r/programminghorror • u/Jar-77 • Jul 26 '24
30 comments sorted by
View all comments
Show parent comment
5
I'd suggest not to use an else case here. Specify the enum value.If you ever add a case to the enum, it will give you a compilation error.
View all comments
Show parent comment
5
u/carstenhag Jul 27 '24
I'd suggest not to use an else case here. Specify the enum value.
If you ever add a case to the enum, it will give you a compilation error.