Advent of Rust: Week 2 Recap
Week 2 of the Rust guide for node.js and JS/TS developers
Day 9 adds behavior to data with
Day 10: From Mixins to Traits
Day 10 clarifies some of the early frustrations people experience when dealing with Rust’s traits, Rust’s answer to reusable behavior.
Day 11: The Module System
Day 11 takes Rust’s module system and decomposes it into the parts that matter, specifically how exactly do you import code from one file into another?
Day 12: Strings, Part 2
After six days we have finally gone through enough to tackle the rest of the
Stringproblem. Day 12 goes over how to accept borrowed and owned strings in as pleasant a way as Rust allows.
Day 13: Results & Options
The last day of our second week goes over two of Rust’s most common data structures, the
Result and the
Option. Both of these enums help Rust represent problems and nothingness without throwing errors or passing around
The next week worth of posts will go over closures, error handling, Rust’s lifetimes, Arrays, loops, and iterators. Subscribe to the RSS feed to get notified of posts as they come.