Hacker Newsnew | past | comments | ask | show | jobs | submit | kbdot's commentslogin

I don’t know why anyone thinks that you can’t or shouldn’t use unwrap in a production environment. If this was enforced you’d likely end up with people using something like “.expect()” and there are real world cases where you KNOW that unwrapping will never cause issues.

The reality is the code should not have used unwrap, but that doesn’t mean using unwrap is bad.


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

Search: