Everyone should follow their joy but I just think fallthrough behavior in switch statements is an absurd design decision

"But then multiple cases can share code—" yeah wow that super aligns with people's mental model of what "switch" means

You can tell it aligns because if you do fallthrough the compiler will ask you if you were serious and you have to set a flag specifying that you were

"Backwards compatibility" aptly named because this behavior is backwards

0

If you have a fediverse account, you can quote this note from your own instance. Search https://wandering.shop/users/Annalee/statuses/116070285187615312 on your instance and quote it. (Note that quoting is not supported in Mastodon.)