如果能流利使用Java,学习C ++需要多长时间? [英] How long to learn C++ if fluent in Java?

查看:72
本文介绍了如果能流利使用Java,学习C ++需要多长时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑申请一些工作,这些工作需要具有Java和C ++经验的人们。我已经写了几年Java了,而且我很流利,所以我不必经常得到Java的帮助。我没有真正的C ++经验,也没有太多的C经验。


但是,核心的Java语句是借来的。从C和C ++开始经常被称为C with classes。在我看来,如果我已经熟练掌握了Java并且对b
的了解最少,那么它不应该花费很长时间才能加快C ++的速度。 C.然后,我再次理解Java和C ++使用

类的方式有点不同;例如,C ++允许多继承

而Java只允许单继承但允许多个接口

作为补偿。我不确定在使用Java几年后能够流利地使用多少继承,这需要多长时间。


我会非常好奇要知道这里的人能用多久才能熟练掌握使用C ++,如果他们开始使用我今天所拥有的大致相同的技能,那么他们需要多长时间才能熟练掌握C ++。


-

犀牛

---

rhino1 AT sympatico DOT ca

有两种构建软件设计的方法。一种方法是使它变得如此简单,以至于显然没有任何缺陷。而另一种方式是使b / b $ b变得如此复杂以至于没有明显的缺陷。 - CAR

Hoare

I am giving some thought to applying for some jobs that want people with
Java and C++ experience. I have been writing Java for several years and am
fluent enough that I don''t have to get help with Java very often. I have no
real C++ experience and not much C experience for that matter.

However, the core Java statements are "borrowed" from C and C++ has often
been called "C with classes". It seems to me that it shouldn''t take very
long to get up to speed on C++ if I am already fluent with Java and have at
least some knowledge of C. Then again, I understand that Java and C++ use
classes a bit differently; for instance C++ allows multiple inheritance
while Java allows only single inheritance but allows for multiple interfaces
as compensation. I''m not sure how long it would take to get fluent with
multiple inheritance after several years with Java.

I''d be very curious to know how long it took people here who were fluent in
Java to get fairly fluent in C++ if they started with approximately the same
skills I have today.

--
Rhino
---
rhino1 AT sympatico DOT ca
"There are two ways of constructing a software design. One way is to make it
so simple that there are obviously no deficiencies. And the other way is to
make it so complicated that there are no obvious deficiencies." - C.A.R.
Hoare

推荐答案

Rhino写道:
Rhino wrote:
我在给有些人想过申请一些想要有Java和C ++经验的人。我已经写Java几年了,而且非常流利,我不必经常得到Java的帮助。我没有真正的C ++经验,也没有太多的C经验。

然而,核心的Java语句是借来的。来自C和C ++的词典经常被称为C with classes。在我看来,如果我已经熟练掌握Java并且至少对C有一些了解,那么就不应该花很长时间才能快速掌握C ++。然后,我明白了Java和C ++使用
类有点不同;例如,C ++允许多重继承,而Java只允许单继承,但允许多个接口作为补偿。我不确定在使用Java几年后能够流利地使用多重继承还需要多长时间。

我很想知道这里花了多长时间如果他们以与我今天大致相同的技能开始,他们能够流利使用Java来获得相当流利的C ++。
I am giving some thought to applying for some jobs that want people with
Java and C++ experience. I have been writing Java for several years and am
fluent enough that I don''t have to get help with Java very often. I have no
real C++ experience and not much C experience for that matter.

However, the core Java statements are "borrowed" from C and C++ has often
been called "C with classes". It seems to me that it shouldn''t take very
long to get up to speed on C++ if I am already fluent with Java and have at
least some knowledge of C. Then again, I understand that Java and C++ use
classes a bit differently; for instance C++ allows multiple inheritance
while Java allows only single inheritance but allows for multiple interfaces
as compensation. I''m not sure how long it would take to get fluent with
multiple inheritance after several years with Java.

I''d be very curious to know how long it took people here who were fluent in
Java to get fairly fluent in C++ if they started with approximately the same
skills I have today.



C ++支持4种范例。面向对象的范例,程序性的b $ b范式,模块化范式(命名空间)和泛型编程

范例(模板)。每个范例都支持*井*,具有最佳的空间和时间效率。

井 part表示在OO中,例如,支持单个和多个

继承(包括接口),虚拟

继承,虚拟基础等。

这意味着它是一种大型语言(我想一下就像4

种语言一样),并且需要时间来学习。

但是你不需要知道开始写的整个语言

应用程序(我还没有完成它)。

既然你有一些编程背景,最好的方法就是

book" Accelerated C ++"作者:Andrew Koenig,Barbara Moo。

您还可以查看 http:// www .accu.org 书评。


-

Ioannis Vranos

http://www23.brinkster.com/noicys


C++ supports 4 paradigms. The Object Oriented paradigm, the procedural
paradigm, the modular paradigm (namespaces) and the generic programming
paradigm (templates). Each paradigm is supported *well*, with optimal
space and time efficiencies.
The "well" part means that in OO for example, single and multiple
inheritance are supported (including that of interfaces), virtual
inheritance, virtual bases etc.
This means that it is a large language (I guess something like 4
languages in one), and will take time to learn.
However you do not need to know the entire language to begin writing
applications (myself have not finished it yet).
Since you have some programming background the best way to start is the
book "Accelerated C++" by Andrew Koenig, Barbara Moo.
You may also check http://www.accu.org for book reviews.


--
Ioannis Vranos

http://www23.brinkster.com/noicys


Rhino写道:
我正在考虑申请一些想要具有Java和C ++经验的人的工作。我已经写Java几年了,而且非常流利,我不必经常得到Java的帮助。我没有真正的C ++经验,也没有太多的C经验。

然而,核心的Java语句是借来的。来自C和C ++的词典经常被称为C with classes。在我看来,如果我已经熟练掌握Java并且至少对C有一些了解,那么就不应该花很长时间才能快速掌握C ++。然后,我明白了Java和C ++使用
类有点不同;例如,C ++允许多重继承,而Java只允许单继承,但允许多个接口作为补偿。我不确定在使用Java几年后能够流利地使用多重继承还需要多长时间。

我很想知道这里花了多长时间如果他们以与我今天大致相同的技能开始,他们能够流利使用Java来获得相当流利的C ++。
I am giving some thought to applying for some jobs that want people with
Java and C++ experience. I have been writing Java for several years and am
fluent enough that I don''t have to get help with Java very often. I have no
real C++ experience and not much C experience for that matter.

However, the core Java statements are "borrowed" from C and C++ has often
been called "C with classes". It seems to me that it shouldn''t take very
long to get up to speed on C++ if I am already fluent with Java and have at
least some knowledge of C. Then again, I understand that Java and C++ use
classes a bit differently; for instance C++ allows multiple inheritance
while Java allows only single inheritance but allows for multiple interfaces
as compensation. I''m not sure how long it would take to get fluent with
multiple inheritance after several years with Java.

I''d be very curious to know how long it took people here who were fluent in
Java to get fairly fluent in C++ if they started with approximately the same
skills I have today.




有那个哲学家,提奥奇尼斯,他住在一个巨大的地方,距离雅典不远。他被认为是一个非常聪明的人。有一次,一个男人正在经过提奥奇尼斯的枪管并问他,告诉我,噢噢噢噢wise wise wise $ $ $ $ $ $ $ $ $ $ $ $ $ $ $,,,,,,,,,,,,&&&& ;提奥奇尼斯回答说,去!。男子

以为他听错了,并再次问道,我想知道我将需要多长时间才能到达雅典。提奥奇尼斯再次说道,开始走路,走!。然后

男子耸了耸肩,开始向雅典大方向走去。

这名男子几十步后,Diogenes喊道,Two and br />
半天!那个男人停了下来,转过身来,非常激动地问道,难道你不能早点告诉我吗? 没有,回答

Diogenes,我不知道你要走的速度有多快。


怎么能有人回答问题_you_需要多长时间才能学习C ++?它基本上是一种预测未来而没有任何

相关信息的尝试。


而且,这是另一点:不要问多长时间这将需要你决定是否采取这条路线。如果您觉得知道C ++

对您的职业生涯至关重要,请立即开始学习它!我做了我的决定

超过12年前,我还在学习。在路上我拿起了一些Java,Python和其他几种我十二年前都不知道的语言。

它告诉你什么WRT它将会持续多长时间带你去那儿?没有什么

如果你想的话。


只是我的



There was that philosopher, Diogenes, who lived in a huge barrel somewhere
not too far from Athens. And he was known as a very smart guy. And once
upon a time a man was passing Diogenes'' barrel and asked him, "Tell me, o
wise man, how long a walk to Athens?" Diogenes answered, "Go!". The man
thought he heard it wrong and asked again, "I want to know how long I will
need to reach Athens" Diogenes again said, "Start walking, go!". Then the
man shrugged, and started walking away in the general direction of Athens.
After the man has made several dozen paces, Diogenes shouted, "Two and
an half days!". The man stopped, turned around and asked very
irritatedly, "Couldn''t you just tell me that earlier?" "No", answered
Diogenes, "I didn''t know how fast you were going to walk".

How can anybody can answer the question how long it will take _you_ to
learn C++? It''s basically an attempt to predict the future without any
relevant information.

And, here is another point: don''t ask how long it would take as if you''re
deciding whether to take that route or not. If you feel that knowing C++
is essential for your career, start learning it NOW! I made my decision
more than 12 years ago and I am still learning. On the way I picked up
Java, Python, and several other languages I didn''t know twelve years ago.
What does it tell you WRT how long it will take you to get there? Nothing
if you think about it.

Just my


0.02


V
0.02

V


这篇关于如果能流利使用Java,学习C ++需要多长时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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