Re: Need for Swift
Re: Need for Swift
- Subject: Re: Need for Swift
- From: Alex Zavatone via Cocoa-dev <email@hidden>
- Date: Tue, 15 Oct 2019 22:37:22 -0500
> On Oct 15, 2019, at 6:08 PM, Charles Srstka via Cocoa-dev
> <email@hidden> 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@hidden)
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:
This email sent to email@hidden