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

This is why I write in a 2-pass manner quite often. In the first pass I use unwrap a lot to get the functionality going. In the second pass I search for all the unwrap and expect and take a moment to think about in what cases these may happen.

This works for me really well to get a prototype going, but then have a solid program later. Because the unwrap/expect is so easy to search for, that you can really postpone the error handling until later.



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

Search: