TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: c++ or iPhone?

5 点作者 nickfox超过 16 年前
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?

8 条评论

siong1987超过 16 年前
I have been working on iPhone development for the past few weeks. The entry level to learn obj C is actually quite high because I really cannot find any book that helps me to learn obj C. Most of the books that I stumbled upon require me to learn some sort of C or C++ before learning obj C.<p>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>P/S: I used Beginning Iphone Development, Cocoa Programming For Mac OSX, and the Apple Iphone documentations to learn obj C.
评论 #453293 未加载
hboon超过 16 年前
Why are the only choices C++ and iPhone?<p>You mean Objective C on the iPhone, since you can do C++ on the iPhone too.<p>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.<p>What work do you do which makes C++ in high demand? Also, C++ isn't the language that separates men from boys.
评论 #453596 未加载
nickfox超过 16 年前
Well, I've made my decision. I'm going to go with iPhone programming. I've actually done enough c++ programming to know what it's about. Having never done any iPhone programming, I can't make a real comparison. The library has an online copy of "Beginning iPhone Development" by Mark and LaMarche and I will work through that after working through Apple's Objective-C book. Thanks for all your input.
yan超过 16 年前
How are you planning on tackling each task? Do you have a project in mind that you will create using either c++ or objc/cocoa touch?<p>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.
评论 #452982 未加载
alain94040超过 16 年前
If you learn iPhone programming, you'll learn essentially the equivalent of C++ in the process, so you win on both sides.<p>If you just try to learn C++ with no clear purpose, I'm not so sure your learning will stick.<p>So go with the iPhone, you'll enjoy it more and you'll learn just as much.
joubert超过 16 年前
C++ programming is like a monkey fucking a ball. You would probably want to stab your eyes out.<p>C / Objective-C will probably provide you with more joy and opportunity to work on the iPhone.<p>I suspect other mobile platforms either use C or Java for programming apps (as opposed to C++), but I might be wrong.
评论 #453097 未加载
Morieris超过 16 年前
What languages do you currently know?
评论 #452948 未加载
Allocator2008超过 16 年前
I'd have to recommend c++. I own an iPhone myself, so they are definitely fun, but c++ is more ubiquitous. Personally I know C far better than c++ (which is a superset of C). The main difference is c++ has classes and more "object oriented" concepts. For the long-haul c++ I think will have more staying power than the iPhone - who knows, maybe the iPhone will be not as popular in a few years, but c++ will still be here.
评论 #453147 未加载