Reply to post: Re: Kinda sad.

C++ still rules the Chromium roost though Rust has caught our eye, say browser devs

DrXym

Re: Kinda sad.

A better reason for fall through is you might have two values which have similar handling but you need to do a little extra handling for one than the other. So you structure the switch such that the little extra handling happens for one and then falls through to the next case. But it's still an edge case and hardly justifies it as a "feature" when it causes so many bugs and can be done some other way.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon