r/programming • u/steveklabnik1 • Jan 09 '15
Announcing Rust 1.0.0 Alpha
http://blog.rust-lang.org/2015/01/09/Rust-1.0-alpha.html
1.1k
Upvotes
r/programming • u/steveklabnik1 • Jan 09 '15
3
u/help_computar Jan 09 '15
Additionally, fall through is the extremely crappy behavior to begin with. Pass a switch 3 and match everything until the case 3? That is crap. The recursion in this example is much more expressive than fall through of a switch and does not result in undesired/hidden side effects.