Programming Shapes: A Pattern Library
Four repeating patterns that cover most programming problems, no matter how different they look on the surface.
Posts, notes, and digests — building the things, mostly in Rust
Four repeating patterns that cover most programming problems, no matter how different they look on the surface.
How to define and use enums in Rust, including variants with data and an introduction to pattern matching with match.
How to define, instantiate, and use structs in Rust, including update syntax, field init shorthand, and tuple structs.
Build a small Rust program that takes user input from the terminal and constructs a greeting, using functions for separation of concerns.
Rust's three loop types: loop, while, and for, including returning values from loops and using ranges.