r/iOSProgramming • u/yolobicycle • Jan 10 '16
Discussion The most important decision: Objective-C or Swift
Assume you're at a Fortune 500 that is launching a new business unit. No legacy code to deal with. It is now the beginning of 2016 and it is just you and your CTO. You are empowered to decide whether the mobile team that eventually will be hired should build the iOS app in Objective-C or Swift. What do you decide and why?
0
Upvotes
View all comments
Show parent comment
-1
u/mmellinger66 Jan 11 '16 edited Jan 18 '16
Hmmm. People who have rewritten their Objective C apps into Swift has found they greatly decreased the code in their projects. I'm sure it was partly due to the fact that they learn from their first attempt.
This project was half the size: http://www.sunsetlakesoftware.com/2015/11/03/what-we-learned-rewriting-our-robotic-control-software-swift
This project was 1/3 the size:
http://www.fastcompany.com/3050266/tech-forecast/lyft-goes-swift-how-and-why-it-rewrote-its-app-from-scratch-in-apples-new-lang
Might be counting header files that you no longer need to write. There's no doubt that there's less typing with Swift. It's more succinct:
vs
I haven't heard of anyone having trouble with going from Swift 1.2 to Swift 2. Do you have any blogs that you can reference? Anyway, don't you think that you'd be better off with 70,000 lines of Swift over 100,000 lines of Objective C?