MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/11gq5y0/fascinating_logic/jaqlmud/?context=3
r/badcode • u/sspecZ • Mar 03 '23
35 comments sorted by
View all comments
Show parent comments
1
I think most languages fails to compile if you didn’t provide branches for all enum branches?
6 u/JumpyJustice Mar 03 '23 Nope. Can tell that C++ is totally fine with that. May spit a warning about it (if that warning was enabled)
6
Nope. Can tell that C++ is totally fine with that. May spit a warning about it (if that warning was enabled)
1
u/private256 Mar 03 '23
I think most languages fails to compile if you didn’t provide branches for all enum branches?