回到C ++工作(C ++和Java) [英] coming back to C++ for a job (C++ and Java)

查看:70
本文介绍了回到C ++工作(C ++和Java)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一些软件开发工作,其列表

需要C ++经验。我的历史是,我有很强的背景知识和几年的本科C ++课程。

自1997年以来我一直在使用Java并考虑自己

a体面的Java程序员。


现在,如果我申请C ++工作,你认为重要吗

我知道C ++的精细细节吗?或者对面向对象编程的强大,全面的知识是否更重要?

我不认为C ++中有任何重要内容我不会'' t召回

如果我有几分钟的时间在书中查找它。

解决方案

>我正在寻找一些软件开发工作,其列表

需要C ++经验。我的历史是我有很强的背景知识和几年的本科C ++课程。
我自1997年以来一直在使用Java并认为自己是一个不错的Java程序员。


为了满足我的好奇心,为什么要考虑切换到C ++?

现在,如果我申请C ++工作,你认为它是'重要的是
我知道C ++的精细细节吗?


取决于我的工作。

或者对面向对象编程的强大,广义的知识会更重要吗?


C ++是一种多范式语言,具有很强的OOP知识,很好,但只能解决语言的一个方面问题。即这不是你需要知道的唯一的事情。如果我要雇用一名C ++程序员,我会希望他或她知道常用的标准库和习语。或者用C ++中的
(如RAII)。 />

拥有丰富的Java和C经验可以,但不是必需的,

a好东西。最重要的事情是C ++是一种真正不同的语言,应该这样对待。许多前C和Java程序员犯了一个常见的错误,就是他们试图用C ++重新应用从这些语言中学到的东西。

即使这可能有效,但很少会产生最佳的C ++代码。我认为其中一个使得从Java转换到C ++

(不必要地)困难的事情是它们具有相似的语法但不同

语义学。

我不认为C ++中有什么重大内容我不记得如果我有几分钟的时间在书中查找它。




如果没有

了解您当前的C ++知识水平,很难判断您的评估是否有效。很可能你可能会低估它。 11年前,我学习了C ++作为我学习的一部分,在

时间里它没有涵盖像RTTI,异常,模板和

标准库这样的东西。因此,如果我多年来一直不愿意跟上C ++

的发展,那么我今天学到的东西将会很少用。


最终一切都取决于工作;有些工作可能只需要基本的C ++知识,其他工作可能要求你能够理解最先进的模板技术。


HTH


-

Peter van Merkerk

peter.van.merkerk(at)dse.nl


< Digital Puer>

我正在寻找一些软件开发工作,其中的房源

需要C ++经验。我的历史是,我有很强的背景知识和几年的本科C ++课程。

自1997年以来我一直在使用Java并考虑自己

a体面的Java程序员。


现在,如果我申请C ++工作,你认为重要吗

我知道C ++的精细细节吗?或者对面向对象编程的强大,全面的知识是否更重要?

我不认为C ++中有任何重要内容我不会'' t召回

如果我有几分钟的时间在书中查找它。

< / Digital Puer>


您已经使用C ++编程,然后启动了Java。现在回到C ++,你需要回报
。尼斯。你在Java上的岁月并没有浪费,至少你不会有对象恐慌。 C ++程序员有很多。他们从池塘里对待像粘糊糊的生物一样的物品,你知道你必须牢牢抓住它们

就在尾巴上方。


你会错过一些Java特性,特别是


-追溯异常

-多个入口点(每个类都是它自己的主要的!)

-declaration和定义在一个地方


你可以拿到最后一点,但很多C ++

程序员发现非常糟糕的风格。


毫无疑问,你学习的最重要部分是STL。您需要了解模板,向量,迭代器,

和泛型编程。最好买一些好书

并埋头学习。


-X


Digital Puer写道:

我正在寻找一些软件开发工作,其列表需要C ++经验。我的历史是我有很强的背景知识和几年的本科C ++课程。
我自1997年以来一直在使用Java并认为自己是一个不错的Java程序员。

现在,如果我申请C ++工作,你认为重要吗<
我知道C ++的精细细节吗?或者对面向对象编程的强大,广义的知识会更重要吗?
我认为C ++中没有任何重要内容我不会回想起如果我有几分钟时间在书中查阅。




我通常会告诉找工作工作在维护中的线程是这些

天 - 这对C ++来说是两倍。遗憾的是,公司是否能够在最后几年幸存下来,并不依赖于他们的代码质量。通常它的质量非常糟糕。


学会改进单元测试,然后为每个错误报告证明你可以

在修复之前编写一个重现该bug的测试。然后再次通过

进行测试。


-

Phlip
http://www.c2.com/cgi/wiki?TestFirstUserInterfaces


I''m looking at some software development jobs whose listings
require C++ experience. My history is that I have a strong
C background, and a few years of C++ from undergrad classes.
I''ve been working with Java since 1997 and consider myself
a decent Java programmer.

Now, if I apply for C++ jobs, do you think it''s important that
I know the fine details of C++? or would a strong, generalised
knowledge of object-oriented programming be more important?
I don''t think there''s anything major in C++ I wouldn''t recall
if I had a few minutes to look it up in a book.

解决方案

> I''m looking at some software development jobs whose listings

require C++ experience. My history is that I have a strong
C background, and a few years of C++ from undergrad classes.
I''ve been working with Java since 1997 and consider myself
a decent Java programmer.
Just to satisfy my curiosity, why do you consider switching to C++?
Now, if I apply for C++ jobs, do you think it''s important that
I know the fine details of C++?
Depends on the job I guess.
or would a strong, generalised
knowledge of object-oriented programming be more important?
C++ is a multiparadigm language, having strong knowledge of OOP is good
but addresses only one aspect of the language. I.e. it isn''t the only
thing you need to know. If I would be hiring a C++ programmer I would
expect him or her to know the standard library and idioms commonly used
in C++ (like RAII) as well.

Having much experience with Java and C can be, but not necessarilly is,
a good thing. The most important thing to realize is that C++ is a
really different language and should be treated as such. A common
mistake made by many former C and Java programmers is that they are
trying to reapply the things they learned from those languages in C++.
Even though that might work, it rarely results in optimal C++ code. I
think one of the things that makes the transition from Java to C++
(unnecessarily) hard is that they have similar syntax but different
semantics.
I don''t think there''s anything major in C++ I wouldn''t recall
if I had a few minutes to look it up in a book.



It is difficult to tell if your assessment is valid or not without
knowing your current level of C++ knowledge. Chances are that you might
underestimate it. I learned C++ as part of my study 11 years ago, at the
time it didn''t cover things like RTTI, exceptions, templates and the
standard library. Consequently what I learned back then would be of
little use today if I hadn''t bothered to keep up with the C++
developments over the years.

Eventually it all depends on the job; some jobs may require only
rudimentary knowledge of C++, other jobs may require you to be able to
comprehent the most advanced template techniques.

HTH

--
Peter van Merkerk
peter.van.merkerk(at)dse.nl


<Digital Puer>
I''m looking at some software development jobs whose listings
require C++ experience. My history is that I have a strong
C background, and a few years of C++ from undergrad classes.
I''ve been working with Java since 1997 and consider myself
a decent Java programmer.

Now, if I apply for C++ jobs, do you think it''s important that
I know the fine details of C++? or would a strong, generalised
knowledge of object-oriented programming be more important?
I don''t think there''s anything major in C++ I wouldn''t recall
if I had a few minutes to look it up in a book.
</Digital Puer>

You already programmed in C++ and then started Java. Now
you come back to C++. Nice. Your years on Java are not
wasted, at least you won''t have the "object scare" that many
C++ programmers have. They treat objects like slimy creatures
from the pond, you know that you must take a firm grip on them
just above the tail.

You will miss some Java features, especially

-trace back on exception
-multiple entry points (each class its own main!)
-declaration and definition in one place

You can come away with the last point, though, but many C++
programmers find that extremely bad style.

The most important part for you to learn is without doubt
the STL. You need to understand templates, vectors, iterators,
and generic programming. Best to buy some good books
and burry yourself in study.

-X


Digital Puer wrote:

I''m looking at some software development jobs whose listings
require C++ experience. My history is that I have a strong
C background, and a few years of C++ from undergrad classes.
I''ve been working with Java since 1997 and consider myself
a decent Java programmer.

Now, if I apply for C++ jobs, do you think it''s important that
I know the fine details of C++? or would a strong, generalised
knowledge of object-oriented programming be more important?
I don''t think there''s anything major in C++ I wouldn''t recall
if I had a few minutes to look it up in a book.



I usually tell the "get a job" threads that the work is in maintenance these
days - that goes double for C++. Whether companies survived the last few
years, sadly, did not depend on the quality of their code. Usually it was
written in a rush with terrible quality.

Learn to retrofit unit tests on it, then for each bug report prove you can
write a test reproducing the bug before fixing it. Then run the tests over
and over again.

--
Phlip
http://www.c2.com/cgi/wiki?TestFirstUserInterfaces


这篇关于回到C ++工作(C ++和Java)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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