Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Mohammed Rizvi
14,565 PointsIs it necessary to learn JavaScript before Objective-C? Is JS a prerequisite for Objective-C?
I want to learn IOS development and would like to switch tracks from front-end-development to iOS.
3 Answers
Garrett Rodriguez
17,588 PointsI learned Objective-C before JavaScript. I don't see why JavaScript would be any sort of prerequisite for ios programming unless you are building apps in some kind of wrapper. I think js is much easier to wrap your head around but I feel they are two very different languages(usually) used for different things. Good luck whatever you decide!
Nick Fuller
9,027 PointsJavascript is not a prerequisite for Objective-C. I say, explore languages, find what is fun and roll with it. That's what I did... I ended up starting with Ruby (still love it!), but it opened the doors for me to all languages!
Warning! Subjective commentary! ->
Javascript's objective nature is a little more ambiguous and harder to grasp the concept. Some people like to use prototyping, others try to mock classical objective languages. Either way Javascript is an awesome language, and you will probably get a tad bit more instant gratification.
Objective-C will follow slightly more rules. The syntax (warning highly opinionated comment!) is really clunky, verbose, and in general not very pretty. However, once you get the hang of it... oh buddy the rewards and possibilities are endless! I think you can do a lot more cool things with iOS development. And in the long run... woooo! it's super gratifying!
Garrett Rodriguez
17,588 PointsTotally agree. Js is more instant gratification. I didn't want to open a can of worms but if you search JavaScript and object oriented you will find all kinds of opinions.
Objective C feels MUCH clunkier and I think it would be a difficult first language to learn. On the other hand if you were learning it without knowing any other languages you might not have to "relearn the objective c way" of doing things. I learned during iOS 4 days and things look much cleaner now.
Mohammed Rizvi
14,565 PointsThanks guys your responses really helped out!