|
|
|
|
|
by 4eleven7
2821 days ago
|
|
Actually I disagree.
Since I started writing new apps exclusively in Swift, my apps have crashed exactly zero times according to Fabric/Crashlytics.
I adopted day one, never looked back.
It is an incredibly safe language when used correctly (never force unwrap for example, ever).
While previously my Objective-C apps did have numerous crashes in them. I took on an Objective-C contract recently, and it was a nightmare. Of course, mixing with Objective-C may actually be the cause of issues or crashes? Who knows. |
|
In fact, I would argue that this new trend of defensive programming in Swift will make software worse in the long run. We had a tradition of sending crash reports back to developers. If everyone now starts their methods with `guard let param = param else { return }`, software will silently fail on end user devices, and everything will look fine in Crashlytics/App Store Connect.
I'm not saying that this is what your apps are doing. But I know that Apple bragged about their record low in crash numbers at a time when I ran into different glitches across all of their apps every single day. It's a flawed metric.