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

Even if you want it to crash, you almost never unwrap. At the very least you would use .expect() so you get a reasonable error message -- or even better you handle the potential error.




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

Search: