> On Oct 15, 2019, at 6:08 PM, Charles Srstka via Cocoa-dev > <[email protected]> wrote: > > Seeing lots of `!` in production Swift is a code smell. > > Charles
I wouldn’t call it a code smell. It’s worse. It’s actually asking for a crash if everything doesn’t work out perfectly and an expected result is nil. And that’s exactly what will happen. _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
