• 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: static analyzer irrelevant in Swift age?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: static analyzer irrelevant in Swift age?


  • Subject: Re: static analyzer irrelevant in Swift age?
  • From: Sean McBride <email@hidden>
  • Date: Wed, 28 Jan 2015 15:49:47 -0500
  • Organization: Rogue Research Inc.

On Wed, 28 Jan 2015 07:09:32 -0800, Matt Neuburg said:

>Now that Swift is here, is the Static Analyzer a dead letter? Can anyone
>give me a real-life example where the analyzer found a problem that
>normal Swift compilation didn't? Thanks - m.

In general, static analysis can find problems in any language.  ex: typos like the following could happen in swift (pseudo code):

 if (a == 5)
   ...
 else if (a == 5)
   ...

Whether the clang analyzer will be taught swift who knows.  Certainly if Apple doesn't open source it all, the community won't be able to add new checks like they have with C/C++/ObjC.  :(

Cheers,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >static analyzer irrelevant in Swift age? (From: Matt Neuburg <email@hidden>)

  • Prev by Date: static analyzer irrelevant in Swift age?
  • Next by Date: OmniGraffle takes over Xcode
  • Previous by thread: static analyzer irrelevant in Swift age?
  • Next by thread: OmniGraffle takes over Xcode
  • Index(es):
    • Date
    • Thread