Re:Ask HN: If learning to develop for iOS- start with Obj C ...
by purringmeow on Sunday June 15, 2014 @06:15PM
(#7896522)
I am not an iOS dev, so I apologize if the answer is too obvious, but why did Apple introduce Swift? What's wrong with Objective-C?
[ Parent
| on HN ]
Re:Ask HN: If learning to develop for iOS- start with Obj C ...
by gress on Sunday June 15, 2014 @08:13PM
(#7896822)
Swift is designed to:
* be safer and reduce bugs * be more concise to increase productivity * be easier for the compiler to optimize * introduce functional programming constructs to make algorithm development easier
Objective-C is weak in all of these areas.
Re:Ask HN: If learning to develop for iOS- start with Obj C ...
by ludamad on Sunday June 15, 2014 @08:08PM
(#7896808)
There is this nature of software tools to grow in backwards-compatible ways inevitably becoming evolutionary dead-ends. Apple tried hard with features such as Automated Reference Counting (ARC) but inevitably it is still C glued with a hard-to-optimize object system.