Design patterns

    2024-11-14 (last edit: 2022-12-05)

    Object-oriented programming and Rust

    The book has a chapter dedicated to it. Especially the "typestate" pattern is very interesting. You can read more about it here.

    How to build a good library

    These guidelines have been created by the Rust library team.

    How to handle errors

    This post is from 2020, but the libraries it mentions (anyhow and thiserror) are still the most popular.

    Serde

    Serde is the most popular serialization library for Rust.

    Assignment

    This week's assignment is to write a "distributed" calculator. You should base your solution on the final project from the book.