News for hackers. Stuff that matters.
Re:Ask HN: c++ or iPhone? by hboon on Wednesday January 28, 2009 @04:39AM (#453560)
Why are the only choices C++ and iPhone?

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.

Re:Ask HN: c++ or iPhone? by anonyreliant on Wednesday January 28, 2009 @05:48AM (#453596)
How do you do C++ on the iPhone? I thought it required Objective C and working with the Cocoa GUI?
Re:Ask HN: c++ or iPhone? by hboon on Wednesday January 28, 2009 @11:49AM (#454002)
Cocoa Touch does require Objective C. But the environment blends very well with C and C++. The beauty is you don't need to worry about calling conventions, or go through some native code invocation API. So you can write the GUI code in Objective C and other parts in C++ if you wish. Though, other than to reuse existing code/libraries, I doubt most people will want to do that.