Control Flow Basics
This segment should take about 45 minutes. It contains:
| Slide | Duration |
|---|---|
| Blocks and Scopes | 5 minutes |
| if Expressions | 4 minutes |
| match Expressions | 5 minutes |
| Loops | 5 minutes |
| break and continue | 4 minutes |
| Functions | 3 minutes |
| Macros | 2 minutes |
| Exercise: Collatz Sequence | 15 minutes |
-
We will now cover the many kinds of flow control found in Rust.
-
Most of this will be very familiar to what you have seen in other programming languages.