Following through an exercise using a trait object with dynamic dispatch to choose different behaviour at runtime. Series: Language basics, More synt… ...more
I am really excited to say I was elected to the Governing Board of the Matrix Foundation! I was really surprised because there were lots of people sta… ...more
Trying out the typestate pattern by tracking the state of a 3D printer by changing our type instead of updating a variable whenever it changes. Serie… ...more
Some good patterns to follow in your code e.g. "newtype", "typestate" and one to avoid. Series: Language basics, More syntax, Traits and generics, Bu… ...more
Some good patterns to follow in your code e.g. "newtype", "typestate" and one to avoid. Series: Language basics, More syntax, Traits and generics, Bu… ...more