Hacker News new | ask | show | jobs
by steveklabnik 1544 days ago
Amazingly, typestates used to be a headline feature of Rust, in the very, very, very old days. Like, "Wow, Rust is the language that's going to make typestates mainstream!" was a thing people thought when seeing it.

Eventually it was removed. https://pcwalton.github.io/2012/12/26/typestate-is-dead.html

1 comments

  > The reason was that “in practice, it found little use”
thats a real shame...