minus-squareThinker@lemmy.worldtoRust@programming.dev•What are some mind blowing Rust tricks?linkfedilinkarrow-up0·4 months agoThis could be done almost trivially using the typestate pattern: https://zerotomastery.io/blog/rust-typestate-patterns/. linkfedilink
Thinker@lemmy.world to Experienced Devs@programming.dev · 2 years agoIntentional Code - Minimalism in a World of Dogmatic Design - David Whitney - NDC London 2023youtu.beexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkIntentional Code - Minimalism in a World of Dogmatic Design - David Whitney - NDC London 2023youtu.beThinker@lemmy.world to Experienced Devs@programming.dev · 2 years agomessage-square0fedilink
This could be done almost trivially using the typestate pattern: https://zerotomastery.io/blog/rust-typestate-patterns/.