Rust
Rust Code Typing
33 Rust typing lessons in 5 modules: symbol drills for :: and lifetimes, real snippets, 5 speed runs, and 4 assessment simulations.
- 33 lessons
- About 2.8 hrs
- 5 parts
- 4 full simulations
- $9
What's in this course
5 parts, 33 lessons. Each lesson takes a few minutes.
- 1Operators & SymbolsRust punctuation and borrow symbolsUp next23 wordsFree
- 2Paths & TurbofishDouble-colon paths and ::<> type arguments8 linesFree
- 3Lifetimes & GenericsTick-a annotations and angle-bracket bounds10 linesFree
- Match Arms & Fat ArrowsPattern => value pairs and range patterns12 lines
Free preview ends here
The other 26 lessons and 4 full simulations are in Rust Code Typing: $9, one time, lifetime access.
- The ? OperatorError propagation with ? on Result chains9 lines
- Closures & PipesVertical-bar parameter lists in iterator chains7 lines
- Checkpoint: Symbol FluencyEvery Rust glyph cluster from this module in one longer drill10 lines
- KeywordsRust reserved words3 lines
- DeclarationsStructs, enums, traits, and functions4 lines
- Trait Bounds & Implstrait, impl, and generic bounds13 lines
- Option & Result Idiomsunwrap_or, map, and if-let in daily use7 lines
- Idiomatic PatternsCommon Rust one-liners6 lines
- Iterator Adapterstake, zip, flatten, chunks, and friends7 lines
- Checkpoint: Keywords & IdiomsA custom Iterator impl mixing this module's material15 lines
- Control FlowMatch expressions, loops, and Result handling13 lines
- Functions & MethodsIdiomatic Rust functions11 lines
- Builder PatternChainable constructors with mut self19 lines
- Custom Error EnumDisplay and Error impls by hand17 lines
- HashMap & Entry APITallying with entry().or_insert()11 lines
- Realistic SnippetCLI arg parser with error handling35 lines
- Threads & ChannelsFan-out work over mpsc14 lines
- Checkpoint: Real SnippetsStructs, iterators, and formatting in one pass16 lines
- Speed Run: Config LoaderA key=value parser typed end to end without stopping16 lines
- Speed Run: Iterator PipelineFilter-map-sum chains at full pace20 lines
- Speed Run: State MachineEnum transitions through match on tuples25 lines
- Speed Run: Trait Objectsdyn dispatch over boxed shapes22 lines
- Speed Run: Tests & AssertsA slugify function plus its test module22 lines
- Checkpoint: Sustained SpeedAn event-latency report typed in one continuous run24 lines
- Assessment Sim 1: Word HistogramA complete word-count library with tests37 lines
- Assessment Sim 2: Temperature StatsA full stdin-to-summary program22 lines
- Assessment Sim 3: RPN CalculatorA complete stack evaluator with error paths32 lines
- Assessment Sim 4: Inventory LedgerA full stock-movement program with rejections41 lines
- Checkpoint: Rust Mastery FinalA ranked traffic report -- the course's graded final25 lines
About this course
For Rustaceans who want their fingers to match their borrow-checker intuition. The course is 33 lessons across 5 modules: 7 symbol drills covering ::, <'a>, => arms, ? chains, and closures; 7 keyword and idiom drills; 8 real snippets; 5 sustained speed runs; and a final block of 4 assessment simulations -- complete, compilable programs -- plus a graded mastery checkpoint.
