4 ms·
This is one nice thing about Go, which uses explicit fall through with break being there default. You can still fall through if you want. However, I've come to
by beatgammit 8y ago
This is one nice thing about Go, which uses explicit fall through with break being there default. You can still fall through if you want.
However, I've come to love pattern matching in Rust. It prevents fall through entirely, which makes it unnecessary to check if the code is doing something clever with fall through, which makes the code more simple to parse.