Live data from Hacker News

Should you start with Swift or Objective-C to learn iOS development?

candycode.io

1–10 of 20 posts

Re: Should you start with Swift or Objective-C to learn iOS development?

#2
I don't know the correct answer but I fully agree with the autor: "The wrong answer to this question is learn both. You’re going to have a hard time simultaneously learning two programming languages with different syntax. You’re going to feel overwhelmed and chances are, you’re going to throw in the towel very soon."

So true.

Re: Should you start with Swift or Objective-C to learn iOS development?

#3
Another thing to consider is what languages you already know, and whether Swift or Obj-C will have a lower learning curve.

My guess is that most people (trying to learn iOS) already know an imperative language, and the Obj-C will be easier. I'm really interested to find out if Swift is easier for complete beginners, who don't have preexisting programming experience. There are elements of it that look great (playgrounds being a prime example).

I believe that learning the Apple frameworks (and tools like IB) is going to constitute the majority of your time, regardless of which language you're calling them from.

Re: Should you start with Swift or Objective-C to learn iOS development?

#4
post #3

Another thing to consider is what languages you already know, and whether Swift or Obj-C will have a lower learning curve. My guess is that most people (trying to learn iOS) already know an imperative language, and the Obj-C will be easier. I'm really interested to find out if Swift is easier for complete beginners, who don't have preexisting programming experience. There are elements of it that look great (playgroun…

That's one thing I should've mentioned as well, thanks!

I, for example, come from all sorts of different languages (C++, C#, Java ...) but Obj-C was still a pain to learn. I also do personal projects in Ruby, which I like a lot. That's why I'm really fond of Swift and I can see it going in a similar direction, maybe.

And I agree - Apple frameworks are still written in Obj-C, so you'll have to obtain a basic understanding of the language. But that can come in a bit later, once you've already built something and are looking to dig in a bit deeper. :)

Re: Should you start with Swift or Objective-C to learn iOS development?

#5

I don't know the correct answer but I fully agree with the autor: "The wrong answer to this question is learn both. You’re going to have a hard time simultaneously learning two programming languages with different syntax. You’re going to feel overwhelmed and chances are, you’re going to throw in the towel very soon." So true.

I would qualify that and say "learn both but not at the same time." I found that it was only after I started learning my second programming language that I really started to appreciate many aspects of programming and understand which concepts are specific to languages and which others apply to programming in a broader sense.

Re: Should you start with Swift or Objective-C to learn iOS development?

#6
I was in this situation last March. I had no native experience with only years of ruby and javascript under my belt.

I decided to begin my journey into the Apple world by starting with Objective-C. I made this decision because of the rich availability of learning resources, Stackoverflow's engaged community and the maturity of the language.

I moved over to Swift this January, and the transition couldn't have been better. I know I will take flack for this statement, because it isn't entirely true but: I feel like Objective-C and Swift are related to one another as Coffee-script is related to Javascript; so the time spent learning Objective-C was not wasted and only made my appreciation for Swift greater.

Re: Should you start with Swift or Objective-C to learn iOS development?

#7

I was in this situation last March. I had no native experience with only years of ruby and javascript under my belt. I decided to begin my journey into the Apple world by starting with Objective-C. I made this decision because of the rich availability of learning resources, Stackoverflow's engaged community and the maturity of the language. I moved over to Swift this January, and the transition couldn't have been bet…

Of course, you definitely didn't waste time spent learning Obj-C - once you dig into more advanced stuff, you find that knowledge useful.

Although, I think that considering Swift is only around 7 months old, there are already a lot of really good and high quality resources available online.

Re: Should you start with Swift or Objective-C to learn iOS development?

#8
post #3

Another thing to consider is what languages you already know, and whether Swift or Obj-C will have a lower learning curve. My guess is that most people (trying to learn iOS) already know an imperative language, and the Obj-C will be easier. I'm really interested to find out if Swift is easier for complete beginners, who don't have preexisting programming experience. There are elements of it that look great (playgroun…

Most iOS bloggers use Swift. Want to learn iOS 9 in 2 months? I bet most examples are in Swift. I've collected almost 1000 Swift articles in the past year.

http://www.h4labs.com/dev/ios/swift.html

Think Apple's demos at WWDC will in Swift, ObjC, or both? Apple doesn't do "legacy" for very long.

http://ericasadun.com/2015/04/14/swift-in-case-you-didnt-thi...

Re: Should you start with Swift or Objective-C to learn iOS development?

#9
I took C programming in college (10+ years ago) and from there on out, every language I encounter is so much easier based on the knowledge I've gained in C. I'm sure the same can be said about Objective C. It was considered somewhat of a high level language (or medium level) but now is a much more low level language.

Most of my college education is now really outdated with the exception of operating systems (mostly Linux command line) and C programming.

Re: Should you start with Swift or Objective-C to learn iOS development?

#10
post #8
post #3

Another thing to consider is what languages you already know, and whether Swift or Obj-C will have a lower learning curve. My guess is that most people (trying to learn iOS) already know an imperative language, and the Obj-C will be easier. I'm really interested to find out if Swift is easier for complete beginners, who don't have preexisting programming experience. There are elements of it that look great (playgroun…

Most iOS bloggers use Swift. Want to learn iOS 9 in 2 months? I bet most examples are in Swift. I've collected almost 1000 Swift articles in the past year. http://www.h4labs.com/dev/ios/swift.html Think Apple's demos at WWDC will in Swift, ObjC, or both? Apple doesn't do "legacy" for very long. http://ericasadun.com/2015/04/14/swift-in-case-you-didnt-thi...

Exactly, Apple doesn't do legacy for very long.

To tackle the argument that there is infinitely more Obj-C resources out there - think of how many iOS3, 4 or even 5 tutorials you'd still be able to fully use and implement in your app? I'd say close to none. :)

Post reply on HN