Hacker News new | ask | show | jobs
by apple4ever 3144 days ago
Since they aren't now, they won't be in 5 years either.

Swift apps won't be maintainable because it makes writing clever code so easy, so nobody will understand them.

1 comments

It's like, the opposite of what you wrote. Swift apps are much higher quality than Objective C apps today. I know because I write large commercial apps for a living and wrote in Objective C and object oriented C for 20 years.

There are too many ways to blow up your app from C. A disciplined developer who uses safe libraries/classes to shield themselves from dealing with naked pointers can succeed at making an Objective C app reasonably stable, but it's really hard.

Swift was designed to protect you from wild pointers. All you have to do is NEVER FORCE UNWRAP and 90% of the typical crashers can't happen. Our current app is 90,000 lines of Swift. It's been relatively easy to maintain and update with Swift versions, and it almost never crashes. Our crash rate is in the top 10% of Social Media apps.

You don't have to write clever code in Swift. Just use the strong typing and optionals, the language is succinct and powerful and you can be very productive (outside of compile times). Swift is the professional tool for building iOS apps, Objective C is fading away.