Ask HN: c++ or iPhone?
I am trying to make a decision on whether to pursue c++ or iPhone programming. I have been a contractor for 12 years working mostly in corporate microsoft shops doing 3-tier programming. In today's environment, I want to gain a more competitive edge so I'm trying to figure out how best to improve my skill set. I like c++ because it is in high demand and it is the language that separates the men from the boys. I like iPhone because cell phone programming is going to be a large part of the wave of the future. As far as "following my passion," both are equally exciting to me, but I need to fully commit to one or the other at this point in time. What are your thoughts on this?
20 comments
[ 4.5 ms ] story [ 56.0 ms ] threadI would recommend coming up with some project in either language that interests you, and gives you a reason and a purpose to learn the language.
Do you want to learn for personal projects, or for your job?
One of my "problems" is that I get excited about all sorts of things so I really need to focus on getting projects finished. That's why I feel I need to be in an either/or place right now, so that I don't over extend myself...
C++ is not generally a language people ought to learn unless they have to.
Plus, does it have to be "either/or"? Spend a few days learning one, spend a few days learning the other. You should have gotten to some non-trivial level with each one and more of a taste for what you actually want to do.
On the iPhone/objective-C side, I have a project in mind integrating iPhones with a dieting website. So many choices, so little time...
C / Objective-C will probably provide you with more joy and opportunity to work on the iPhone.
I suspect other mobile platforms either use C or Java for programming apps (as opposed to C++), but I might be wrong.
If you just try to learn C++ with no clear purpose, I'm not so sure your learning will stick.
So go with the iPhone, you'll enjoy it more and you'll learn just as much.
After I finished the iPhone project, I am learning C++ now because I believe that it will definitely helps to understand more about obj C.
P/S: I used Beginning Iphone Development, Cocoa Programming For Mac OSX, and the Apple Iphone documentations to learn obj C.
I highly recommend Stephen Kochan's Programming In Objective C 2.0 - great introduction to the language and its somewhat funky syntax (if you've been immersed in Java etc for a while), plus a whole section dealing with the iPhone SDK to get you started.
You mean Objective C on the iPhone, since you can do C++ on the iPhone too.
Almost definitely Objective C + iPhone if these are the only choices you have. It's helpful to switch programming environments once in a while to gain a new perspective.
What work do you do which makes C++ in high demand? Also, C++ isn't the language that separates men from boys.