编程的最佳语言 [英] best language for programming

查看:99
本文介绍了编程的最佳语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道c,c ++和c#basics并且想成为编程方面的专家。

请问任何人请告诉我哪种语言最适合创建不同的软件或编程专业化? ??



谢谢。

I know c, c++, and c# basics and wanna become an expert in programming.
will any one please tell me that which language will be best for creating different softwares or for programming specialization????

thanks.

推荐答案





没有''最好''的编程语言。这取决于你想要编程的内容。如果你想避免口译员,那么就不要使用Java。但如果您喜欢使用解释器编程语言,那么Java是一个不错的选择。如果你想要一个带编译器的编程语言,那么C ++是个不错的选择。 C#和VB.NET需要.NET Framework,在大多数Windows版本上默认安装.NET。如果你想编写一个GUI,C#是一个好主意,C ++是一种用于编程GUI的更难的语言。
Hi,

There''s no ''best'' programming language. It depends on what you want to program. If you want to avoid interpreters, then don''t use Java. But if you like programming languages with interpreters, then Java is a good choice. If you want a programming language with a compiler, then C++ is a good choice. C# and VB.NET requires the .NET Framework, on the most Windows versions .NET is installed by default. C# is a good idea if you want to program a GUI, C++ is a harder language for programming a GUI.


没有这样的事情我们可以说X语言是最好的..这听起来像是陈词滥调,但这是事实。你问的是比较苹果和橘子。与其他语言相比,每种语言都有其优点和缺点。



根据您的期望,您决定选择哪一个对您有益。机器级编程,前端编程,后端编程..根据您的需求,您应该选择适合自己的语言。



你可以开始向自己提问如:



*专注于一条路径,避免其他人受到污染更好吗?

*同时探索几个更好,以确保你不会错过最好的部分?

*哪一个最快转换时间到金钱?

*哪一个最可靠地将你转换为更高价值的程序员?

*还有什么其他警告?



这篇文章你可能会感兴趣:哪种编程语言最好 [ ^ ]



祝你好运,让我们知道原因:)



-OI
There is no such thing that we can say X language is the best... This will sound like a cliché but it is the truth. You are asking something like "comparing apples and oranges." Every language has its pros and cons comparing to the other one.

It is going to be your decision to choose which one will be beneficial for you wıth respect to your expectations. Machine level programming, front-end programming, back-end programming.. Based on your needs you should choose the proper language which suits it all..

You can start asking questions to yourself such as ;

*Is it better to focus on one path, avoiding contamination from others?
*Is it better to explore several simultaneously, to make sure you don''t miss the best parts?
*Which one results in converting time to money the most quickly?
*Which one most reliably converts you to a higher value programmer over a longer period of time?
*What other caveats are there?

Here is one article that you might find interesting: Which programming language is best[^]

Good luck and let us know why :)

-OI


对于使用Visual Studio的Windows下的托管代码,如果您想使用设计器进行快速应用程序开发,C#比C ++更合适。



如果你只编写代码,那么优势就不那么明显了。我在C#中发现的主要问题是能够编写在编译时评估的代码(静态断言,模板......)。



缺少C ++管理lambdas以及轻松创建.NET枚举器的可能性。我认为新的异步内容也缺失但我还没有使用过它们。



C#中缺少STL容器但是给出了STL容器(来自<$ c) $ c> std (本机) cliext (托管)比BCL容器和STL.NET存在很多问题,然后对于完全托管的应用程序,STL运行不正常。在本机应用程序中STL性能要好得多(既不是托管也不是混合模式)。



使用Visual Studio 2012,IntelliSense现在在托管/混合模式C ++中运行得相对较好,对于手动编写的代码,编写代码现在比以前快得多,尽管还没有与C#配对。



C#的编译速度比C ++快得多,而且它有更好的重构工具(至少来自Inside Visual Studio)。



就我而言,我同时使用C ++和C#。软件的很大一部分是在C#中,当重构时,我会更经常地转换C ++ C#而不是其他方式。



我希望微软能够在未来几年内大力改进他们的C ++编译器。
For managed code under Windows using Visual Studio, C# is more appropriate than C++ if you want to do rapid application development using the designer.

If you only write code, then the advantage is less marked. The main thing that I find missing in C# is the ability to write code evaluated at compile time (static assertion, Template...).

Missing from C++ are managed lambdas and also the possibility to easily create .NET enumerators. I think that new async stuff is also missing but I have not yet used them.

Missing from C# are STL containers but given that STL containers (either from std (native) or cliext (managed) are much slower than BCL containers and there is a lot of issues with STL.NET, then for a fully managed application, STL is not working well. STL performance is much better in native application (neither managed nor mixed-mode).

With Visual Studio 2012, IntelliSense now works relatively well in managed/mixed-mode C++ too so for manually written code, it is now much faster to write code than it used to be although not yet on pair with C#.

C# also compile much faster than C++ and it has better refactoring tools (at least from Inside Visual Studio).

In my case, I uses both C++ and C#. A large portion of the software is in C# and when refactoring, I will more often convert C++ to C# than tohe other way.

I do hope that Microsoft will improve their C++ compiler a lot in the coming years.


这篇关于编程的最佳语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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