• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Need for Swift
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Need for Swift (From: Kirk Kerekes via Cocoa-dev <email@hidden>)
 >Re: Need for Swift (From: Richard Charles via Cocoa-dev <email@hidden>)
 >Re: Need for Swift (From: Laurent Daudelin via Cocoa-dev <email@hidden>)
 >Re: Need for Swift (From: Pier Bover via Cocoa-dev <email@hidden>)
 >Re: Need for Swift (From: Charles Srstka via Cocoa-dev <email@hidden>)
 >Re: Need for Swift (From: Carl Hoefs via Cocoa-dev <email@hidden>)
 >Re: Need for Swift (From: Alex Zavatone via Cocoa-dev <email@hidden>)
 >Re: Need for Swift (From: Laurent Daudelin via Cocoa-dev <email@hidden>)
 >Re: Need for Swift (From: Charles Srstka via Cocoa-dev <email@hidden>)

  • Prev by Date: Re: Need for Swift
  • Next by Date: Re: Need for Swift
  • Previous by thread: Re: Need for Swift
  • Next by thread: Re: Need for Swift
  • Index(es):
    • Date
    • Thread