News for hackers. Stuff that matters.
Re:Apple’s Use of Swift in iOS 13 by ctdonath on Thursday September 26, 2019 @05:35PM (#21085809)
"Nothing to do but bail" is very rare, orders of magnitude below the frequency of misused force-unwrap.
Re:Apple’s Use of Swift in iOS 13 by donarb on Thursday September 26, 2019 @06:31PM (#21086292)
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.