2A. Builder Pattern (a keyword-argument workaround) - From Python to Rust

Published: 31 December 2021
on channel: Bedroom Builds
655
28

We use the builder pattern as a workaround for keyword arguments and default values, since these are not supported by the compiler. This allows for convenient object construction in Rust.

useful crate: https://github.com/colin-kiegel/rust-...

Source code for this episode (and the others of the series) can be found at https://github.com/bedroombuilds/pyth...