我应该同时学习C ++和Java吗? [英] Should I learn C++ and Java simultaneously?

查看:359
本文介绍了我应该同时学习C ++和Java吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开始编写Android应用程式。这显然是在Java。 Craigslist上的编程作业至少有100个Java到1 C ++。我想学习Java。

I'd love to start writing Android apps. That's apparently all in Java. Programming jobs on Craigslist are at least 100 Java to 1 C++. I want to learn Java.

不幸的是,我考虑的CS程序教的是C ++而不是Java,所以C ++是我正在学习的。 (我肯定学习C ++会教我编写代码,但是Java也会这么做,然后我可以得到一份工作。令人沮丧的是,CS程序坚持使用了20年的语言,而不是教语言, )

Unfortunately, the CS program I'm considering teaches C++ rather than Java, so C++ is what I'm learning. (I'm sure learning C++ will teach me to code well, but so would Java, and then I could get a job. It's frustrating that CS programs stick with languages they've used for 20 years instead of teaching languages that will help their students succeed.)

我的问题是,在完成我的C ++作业后,打开我的书架上的Java书是一个好主意。我会结束困惑,还是我会结束在两个更好?是否有人同时学习C ++和Java?

My question is whether it's a good idea to crack open the Java books on my shelf after I finish my C++ homework. Will I just end up confused, or will I end up better at both? Has anyone learned both C++ and Java simultaneously?

编辑:感谢所有的快速答案!我做了一些编程,我很容易接触语言,我想。比较并排吸引我。但我也倾向于咬我的咀嚼,而学习C + +和Java似乎是一种大餐,可能会让我陷入麻烦。

Thanks for all the quick answers! I've done some programming and I pick up languages easily, I think. Comparing side by side does appeal to me. But I also tend to bite off more than I can chew, and learning C++ and Java both seems like the kind of big meal that could get me in trouble.

推荐答案

我没有看到一个真正的问题。作为一个额外的奖励,你将能够阅读书的相关部分并排,看看他们如何比较和对比语言如何处理的东西的差异。

I don't see a real problem with this. As an added bonus you'll be able to read the books relevant sections side by side and see how they compare and contrast the differences in how the languages handle things.

例如,当您在C ++中读取指针时,它可能会帮助您在一定程度上可视化Java引用类型的工作方式。

For example as you read about pointers in C++ it might help you visualize how Java reference types work to a certain degree.

不要沮丧你的学校教C ++,感激。阅读, Java学校的危机。你不是在一所科技学校,想学习当下最热门的语言。你在那里学习计算机科学。我的学校教导Java作为介绍性语言,我认为这是一个巨大的错误。我们应该学习C,所以当我们被介绍到Java(例如面向对象类),我们将知道实际发生了什么,没有什么神奇发生在我们身上。

Don't be frustrated your school teaches C++, be grateful. Read, The Perils of Java Schools. You aren't at a tech school looking to learn the hottest language of the moment. You are there to learn computer science. My school teaches Java as an introductory language and I think it is a huge mistake. We should be learning C instead so by the time we are introduced to Java (in say, Object Oriented class) we will know what is actually going on and nothing "magical" is happening for us.

您在学位上获得的知识,甚至是使用C或C ++的知识,将超越最新的流行语言。

The knowledge you gain in your degree, and even from using C or C++, will transcend the latest "popular" language.

这篇关于我应该同时学习C ++和Java吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆