java或c ++,哪个优越?谁拥有未来? [英] java or c++, which is superior ? and which holds the future ?

查看:55
本文介绍了java或c ++,哪个优越?谁拥有未来?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我是一名c ++学习者,最近遇到了一些关于编程未来的问题。

编程launguage将来会占据优势地位?甚至现在?

编程launguage更强大?

c ++还是java?如果不是,那么哪个是???

java是跨平台的,但没有指针和c ++中可用的某些其他重要功能。

同时,java是跨平台的,其中c ++不是。

最近发布了c ++的更新版本,称为c ++ 11.

它不是跨平台的! !

i her at at&t正在研究c ++ 14和c ++ 17,

是跨平台的吗?如果没有,为什么他们不能让它跨平台并使其成为有史以来最强大的编程语言!!

为什么他们不能制作c ++跨平台?为什么java如此着名,即使它缺少某些重要的编程功能,例如指针。

我应该学习哪一个?

hello everyone,
i'm a c++ learner, and recently faced certain questions regarding the future of programming.
which programming launguage will hold a superior position in the future ? or even now?
which programming launguage is more powerfull?
c++ or java? if neither, then which is ???
java is cross platform, but dose not have pointers and certain other vital features which are available in c++.
at the same time, java is cross platform, where as c++ is not.
recently an updated version of c++ has been released, called c++ 11.
it is not cross platform either!!!
i herd at&t is working on c++ 14 and c++ 17,
is it cross platform??? if not, why can't they just make it cross platform and make it the most powerfull programming launguage ever!!
why din't they make c++ cross platform? why is java so famous even though it lacks certain vital programming features, such as pointers.
which one should i learn ?

推荐答案

了解更多语言和平台更好。我对C ++和java都很满意,有很多经验。我和C#一起工作了一年。学习这些语言中的任何一种都是一项很好的发明,因为大量的遗留代码可以保证你的工作至少可以在未来10年内完成。如果奇迹出现并且这些奇迹突然消失(我怀疑),那么你可以简单地学习一些新东西来代替这些奇迹。软件开发人员的真正价值不在于他使用语言的经验,而在于他在软件开发方面的经验。新的语言和图书馆总是通过前进或后退几步重复使用旧的东西...
Knowing more languages and platforms is better. I'm comfortable with both C++ and java with lots of experience. I've worked with C# too for a year. Learning any of these languages is a good invenstment since tons of legacy code guarantees your job probably for at least the next 10 years. If a miracle comes and these suddenly die out (that I doubt) then something new will come in place of these that you can simply learn. The true value of a software developer is not his experience with a language but his experience in software development. New languages and libraries always reuse the old stuff sometimes by taking a few steps forward or back...


我们克林贡开发者掌握未来。



今天有许多不同的编程语言,其中一些很受欢迎。一般来说,编程语言并不优于另一种编程语言:在特定的场景中,编程语言可能比另一种编程语言更适合。

当然有趋势。例如,大多数现代语言都有垃圾收集器。



首先,您可以选择学习主流语言,如 C# Java C ++ 如果您对性能感兴趣:-))。
We Klingon developers hold the future.

Today there are many many different programming languages, some of them very popular. Generally speaking a programming language is not superior to another: in specific scenarios a programming language might be better suited than another.
There are trends of course. For instance, most 'modern' languages have a garbage collector.

For starting, you might choose to learn a 'mainstream' language like C# or Java (C++ if you are also interested in performance :-) ).


这不是一个公平的问题 - 实际上并不是一个有意义的答案。

这有点像问哪个最好的,劳斯莱斯还是法拉利? - 它们是不同的东西,用于不同的目的,直接比较它们是行不通的。如果你想要一个司机,那么Roller对你来说可能更好,但法拉利对于司机来说更好,因为他会有更多的乐趣!



C ++和Java也没有真正比较:它们通常用于不同的设备。 Android应用程序几乎都是纯粹的java,而许多PC应用程序都是C ++,很少有Java。



未来是什么?不知道。正如PhantomUpvoter所说,如果我们可以预测未来,我们可能不会在这里回答问题...



C ++大约有二十年的历史。但Java也是如此......那么它将持续最好的?没人知道。 COBOL仍然在那里使用,它是非常古老的!
This isn't really a "fair" question - it isn't one which has a meaningful answer in real terms.
It's a bit like asking "which is best, a Rolls Royce or a Ferrari?" - they are different things, intended for different purposes, and comparing them directly doesn't work. If you want a chauffeur, then the Roller is probably "better" for you, but the Ferrari is "better" for the chauffeur as he will have a lot more fun!

C++ and Java don't really compare either: they are generally used for different devices. Android app are nearly all "pure" java, while many PC apps are C++ and very few are Java.

Which is the future? Dunno. As The PhantomUpvoter has said, if we could predict the future, we likely wouldn't be here answering questions...

C++ is around twenty years old. But so is Java...so which will last the best? Nobody knows. COBOL is still in use out there and it's positively ancient!


这篇关于java或c ++,哪个优越?谁拥有未来?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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