Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Typestates 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



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: