Re: static analyzer irrelevant in Swift age?
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