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

> This type of code error is prevented by languages with strong type systems.

True, as long as you don't call unwrap!





That's a different kind of error. And even then unwrap is opt-in whereas this is opt-out if you're lucky.

Kind of funny that we get something showing the benefits of Rust so soon after everyone was ragging on a out unwrap anyway!




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

Search: