The Changelog: Software Development, Open Source
Fallthrough & Friends (Friends)
Kris Brandow
And what fall through allows you to do is go into the next switch statement, which is the default behavior in languages like C, which is why you have to put a break at the end of every case statement to make sure you don't go into the next one. So fall through allows you to have that old style functionality of going into the next case statement of your switch statement.
0
💬
0
Comments
Log in to comment.
There are no comments yet.