4 ms·
I think I first learned of that term from this 2019 article: https://cliffle.com/blog/rust-typestate/ https://cliffle.com/blog/rust-typestate/ I can't be the on
by wging 1y ago
I think I first learned of that term from this 2019 article: https://cliffle.com/blog/rust-typestate/ https://cliffle.com/blog/rust-typestate/ I can't be the only one...
- zokier 1y agoTypestates were also notable feature in early Rust, albeit in a very different form. I do recall them mentioned often in presentations/talks/etc at the time. Tbh it would make interesting blog post to compare modern typestate patterns to the historical built-in typestate mechanism. https://github.com/rust-lang/rust/issues/2178 https://github.com/rust-lang/rust/issues/2178