Earlier quoted context omitted.
What do you feel is the primary or greatest benefits of using swift? I get it is the new way but is it that much more productive, easier, flexible or?
Safety and builtin encapsulation. No more included properties in inplementation files. :-).
Ask HN: Swift or Objective-C?
11–20 of 27 posts
Re: Ask HN: Swift or Objective-C?
#12Both. You have to know both languages to develop iOS apps in 2016.
Re: Ask HN: Swift or Objective-C?
#13Swift for new stuff.
What do you feel is the primary or greatest benefits of using swift? I get it is the new way but is it that much more productive, easier, flexible or?
Re: Ask HN: Swift or Objective-C?
#14Earlier quoted context omitted.
Safety and builtin encapsulation. No more included properties in inplementation files. :-).
Not to mention verbosity, and ease of reading and writing. Its syntax is so much less dated. As far as programming languages go, Obj-C definitely "feels" as old as it is.
Re: Ask HN: Swift or Objective-C?
#15I think when Big Nerd Ranch decide it's time to move to Swift, then it's time to move to Swift. https://www.bignerdranch.com/we-write/ios-programming/
Re: Ask HN: Swift or Objective-C?
#16I think one of the biggest misconceptions with the migration to Swift is that it will be a lot easier to be an iOS developer with no experience. After teaching new to programming students iOS development with both Objective-C and Swift, the actual syntax mattered very little - the underlying iOS APIs were difficult to understand.
You'll still find that many API tutorials are written with Objective-C, so even if you don't code in that language, you'll need to translate in your head as you read how to hook up X or Y to Z. In addition, a lot of stack overflow questions for common iOS programming questions are in Objective-C, so you'll at least need to know how to read it.
Re: Ask HN: Swift or Objective-C?
#17Even if you wanted to learn Objective-C all the good versions of learning materials are at iOS 7 and below. Not a good choice since it is very likely none of that stuff works cleanly anymore. So, go with Swift. Yes, you will need to be familiar with Objective-C on an as needed basis, but if you learn Swift and iOS programming it will be a translation and not that bad.
Re: Ask HN: Swift or Objective-C?
#18Re: Ask HN: Swift or Objective-C?
#19The reality is if you can't be proficient with Objective-c no one will hire you at this point. The more time passes, the more Objective-c code will become legacy, and the less important this will be.
That being said definitely start with Swift. It is an excellent language and is the future of the iOS platform.
Re: Ask HN: Swift or Objective-C?
#20Both. You have to know both languages to develop iOS apps in 2016.
No you don't. You can make all your apps in Objective-C.
At the very least, your need to be able to reason about both languages. Refusing to learn one of them is a disservice to yourself as an iOS dev IMO. Denying that would be silly. If you haven't taken a look at Swift, there is no better time than now to start.