News for hackers. Stuff that matters.
Re:Apple’s Use of Swift in iOS 13 by krzat on Monday September 30, 2019 @09:29AM (#21115105)
Two problems I see:

1. ! used here is hard to spot, it's just few pixels of difference from ?.

2. assertionFailure is not the same as force unwrap, because it crashes only in debug mode. Ideally you would log it with some analytics so developers know if problem occured, but doing nothing is usually better than crashing the app.

There are no comments on this comment yet.