Java比C ++更好 [英] Java better than C++

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

问题描述

好的拍我,但是随着Java的最新增加,C ++对java的所有优势已经消失了,我现在等着为软件开发人员提供一个明确的无可争议的C ++优于Java的优势。

OK shoot me, but with the latest additions to java most of the claimed advantages of C++ over java have disappeared and I now wait to get one clear non-arguable advantage of C++ over Java for the software developer.

推荐答案

另见我在此论坛的主题最好的编程语言


这个讨论与以下相同:为什么福特比通用汽车更好?

人们倾向于坚持他们的已经学会了并且已经开始喜欢。如果你在C ++中学到了所有的东西,你通常会坚持使用它,直到你需要C ++中不可能的东西为止,然后你才会寻找更好的语言。或者好奇心。但通常不是客观,可衡量的理由。


所以你的陈述可能适合你,也许不适合别人。


罗纳德:酷:
See also my entry in this forum''s thread Best programming language.

This dicussion is the same as: why is Ford better then GM?
People tend to stick to what they have learned and have coming to like. And if you learned all in''s and out''s of C++, you usually stick with it until you need something that isn''t posisble in C++, only then you will look for a better language. Or maybe curiosity. But usually not on objective, measureable, grounds.

So your statement may be true for you, it maybe not for someone else.

Ronald :cool:



另请参阅此论坛的主题最佳编程语言


这种说法与以下相同:为什么福特比通用汽车更好?

人们倾向于坚持他们所学到的东西并且已经开始喜欢。如果你在C ++中学到了所有的东西,你通常会坚持使用它,直到你需要C ++中不可能的东西为止,然后你才会寻找更好的语言。或者好奇心。但通常不是客观,可衡量的理由。


所以你的陈述可能适合你,也许不适合别人。


罗纳德:很酷:
See also my entry in this forum''s thread Best programming language.

This dicussion is the same as: why is Ford better then GM?
People tend to stick to what they have learned and have coming to like. And if you learned all in''s and out''s of C++, you usually stick with it until you need something that isn''t posisble in C++, only then you will look for a better language. Or maybe curiosity. But usually not on objective, measureable, grounds.

So your statement may be true for you, it maybe not for someone else.

Ronald :cool:



虽然通常情况下人们更喜欢已经知道的东西,但对于真正的比较,这应该不是问题。仅仅因为我花了更多的时间用c编码而不是用Java编写的东西不应该用来比较两种语言。

相反我们应该看看

垃圾收集工作,平台依赖,速度,应用领域,范例支持等。

无论我用c ++编写析构函数多少次,Java gc对我来说都比程序员好多了和类似的论点......

While it is generally true that one prefers what one already knows, for true comparisons this should not be an issue. Just because I''ve spent more time coding in c than I have in Java should not be something I use to compare the two languages.
Instead we should look at
garbage collection effort, platform dependance, speed, areas of application, paradigm support etc.
It does not matter how many times I have written a destructor in c++, the Java gc is much better for me the programmer and similar arguments...


尽管Java在各种环境中都更具可移植性,但如果我不得不编写一些快速而又脏的小程序来更新某些系统上的内容,那么它将采用C ++语言。


唯一让我害怕Java的是依赖于RTE和库的东西。我对C ++发生的事情以及缓慢或快速的事情有了更多的感受。


除此之外,我认为Java应该受到鼓励,以便它可以被移植到海峡到Linux或反之亦然。


嗯,我想我真的应该再看看它。
Although Java is more portable across environments, if I had to write some quick and dirty and small program to update something on someones system, it would be in C++.

The only thing that scares me about Java is the reliance on the RTE and library stuff. I also have more of a feeling of what is happening with C++ and what will be slow or fast.

Other than that, I think Java should be encouraged so that it can be ported strait to Linux or vise versa.

Hmm, I Suppose that I really should take another look at it.


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

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