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

"Nothing to do but bail" is very rare, orders of magnitude below the frequency of misused force-unwrap.


I save force unwraps for things that will be caught at develop/testing time, like app images that are supposed to be in the binary or controls that are supposed to be wired up in Interface Builder. Otherwise, for me, using a force unwrap is a code smell.




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

Search: