帮助选择编程语言! [英] Help Choosing Programming Language!

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

问题描述

现在我对专业人士有疑问.直到3个月前,我对编程一无所知,我认为这只适合非常聪明的人.我了解批处理和VbScripting的一些知识,但后来通过观看youtube发现,即使"ME"也可能是软件程序员.我看了有关VB.NET的教程,喜欢它的语法,并想购买Visual Basic Net Compiler,然后想起了我一年前不小心误下载了一个大文件,即VisualStudio 2010 Net.然后我就知道了,并打开了它,并通过观看在线教程开始编写简单的东西.

我有大约3个月的VB.NET经验,就像我在喜欢它的语法之前所说的那样,但是问题出在"Net Framework"上.我对此感到厌烦,我不希望软件的最终用户之前需要安装net框架,并且在macs上也不能运行.

现在,我正在搜索另一种语言,以了解我的编译文件不需要在最终用户计算机上预先安装任何内容,例如microsoft net框架.我听说C ++不需要Net Framework,尽管我的Visual Studio 2010编译器(也是一个面向.NET的程序包)中也列出了该语言.
C ++不会像vbnet或c#那样在语法上显示任何错误,对我来说,作为一个新手,我很难处理它.

请回复,让我知道您的建议
在此先感谢begi

Now i have a question to the professionals. Till 3 months ago i didnt knew anything about programming i thought this is just for very smart heads. I knew some things about Batch and VbScripting but then i found out by watching youtube that even "ME" could be a software programmer. I watched a tutorial about VB.NET and loved its syntax and wanted to buy Visual Basic Net Compiler, then i remembered that I had accidentely downloaded a year ago a large file by mistake which is called VisualStudio 2010 Net. Then i knew thats it and opened it and started programming simple things through watching online tutorials.

I have about 3 months VB.NET experience and as i said before i love its syntax, but the problem is with "Net Framework". Im sick of it, i dont want that the enduser of my software needs to install net framework before, and on macs it doesnt run too.

Now im searching another language to learn where my compiled file doesnt need anything to be preinstalled on the endusers computer, such like a microsoft net framework. i heard C++ doesnt requiere Net Framework, altough this language is listed too on my Visual Studio 2010 Compiler which is a .NET oriented Package.
And C++ didnt show any errors at syntax like vbnet or c# does, for me as a newbie very hard to deal with it.

Please Reply and let me know about your recommendations
Thanks in advance, begi

推荐答案

在我看来,OriginalGriff已经很好地描述了C ++和.Net等待着您什么.但是在决定选择哪种编程语言作为您的第一种语言之前(其他人会紧随其后!),请先考虑以下事项:

-编程语言通常是最容易掌握的部分.学习随附的库必须提供的内容以及如何有效使用它们是一项更大的任务.那就是牛肉!例如,用C ++编写,您可能必须使用C运行时库,再加上STL,再加上MFC或WTL或ATL或Qt.

-掌握一种编程语言后,其他语言将更容易掌握,因为您知道基本概念.因此,从C ++开始,切换到C#或Java相对容易-语言明智;再次,适应不同的库集是更大的努力.

-比掌握编程语言和库更基本的是理解数据结构的一般概念(如列表,队列,双端队列,数组,树等)和整个技术分支(如数据库,通信,对象模型等) .).

您会看到,选择正确的"编程语言开始在某种程度上是任意的.这在某种程度上取决于您想参与其中的深度以及您对此有多认真. C ++是比较困难的语言之一,但是一旦您掌握了这种语言,许多其他语言就会变得很容易.使用Microsoft的Developer Studio是一个很好的选择,因为它提供了一个非常美观的环境.

如果您想留下一个偶尔的程序员,Visual Basic甚至是一个简单的环境(如Python)都能胜任,并让您更快地启动并运行.
In my opinion, OriginalGriff has given a very good description what awaits you with C++ and .Net. But before you decide, which programming language to pick as your first one (others will follow!) consider the following:

- The programming language is most often the easiest part to master. Learning what the libraries that come with it have to offer and how to effectively use them is a much bigger task. That''s where the beef is! For example, writing in C++ you will probably have to use the C runtime library, plus STL, plus MFC or WTL or ATL or Qt.

- After mastering one programming language, others will be easier to pick up, because you know the underlying concepts. So starting with C++, it will be relatively easy to switch to C# or Java -- language wise; again, adapting to the different sets of libraries is the bigger effort.

- Even more fundamental than to master programming languages and libraries is to understand general concepts of data structure (like lists, queues, deques, arrays, trees, ...) and entire branches of technologies (like databases, communication, object models, etc.).

You see, picking the "right" programming language to start with is to a certain degree arbitrary. It depends a little on how deep you will want to get involved and how serious you are about it. C++ is one of the more difficult languages, but once you mastered that, many others will come to you as easy. And using Microsoft''s Developer Studio is a very good choice, as it offers a very nice and handsome environment.

If you want to stay an occasional programmer, Visual Basic or even a simple environment as Python will do the job and get you up and running faster.


C ++有两种主要风格:一种使用.NET(并且需要安装框架才能正常工作)-这是CLI版本-本机版本是本机,但是需要C ++运行时才能正常工作.诚然,C ++运行时比.NET框架小很多,但是...

这是一个很大的但是.很大. Vista在其标准安装中包括.NET 2.0. Win7包含.NET 3.5.因此,如果您的目标是Vista和更高版本的计算机,那么只要您坚持使用V2.0(可以在项目属性中为所有.NET语言选择),就完全不需要安装.NET.如果您坚持使用Win7及更高版本,则.NET 3.5版同样适用. > NET也可以通过各种Mono版本在Mac,Linux和Android上运行.

而且它变得更大.为了使用Native C ++,您将需要学习很多东西.用本机.NET语言(可以是MFC,ATL或Win32)以.NET语言进行操作是可能的,但完全不同(某些功能要强大得多).如果没有其他框架和/或VM带来许​​多额外麻烦,Native App也无法在Mac上运行.

可以进行切换.但是,如果我是你,我会想要一个比我不想让我的软件的最终用户需要安装网络框架"更令人信服的理由,尤其是因为它不一定是正确的.
C++ comes in two main flavours: one which uses .NET (and needs the framework installed to work) - this is the CLI version - and one which is Native, but which needs the C++ runtime in order to work. Admittedly the C++ runtime is a lot smaller than the .NET framework, but...

It''s a big but. Very big. Vista included .NET 2.0 in it''s standard installation. Win7 includes .NET 3.5 in it''s. So if you are targeting machines from Vista and on up, then provided you stick to V2.0 (which you can select in your project properties for all .NET languages) you need not install .NET at all. If you stick to Win7 and above, then the same applies for .NET version 3.5. >NET can also run on Mac, and Linux and Android via various flavours of Mono.

And it gets bigger. In order to use Native C++, you are going to have to learn a lot. To do what you do in a .NET language in Native (be it MFC, ATL or Win32) is possible, but completely different (and a lot more powerful for some things). A Native App also can''t run on Mac without additional frameworks, and / or a lot of extra hassle with VMs.

It is possible to make the switch. But if I was you, I would want a much, much more compelling reason than "i dont want that the enduser of my software needs to install net framework" particularly since it isn''t necessarily true.


您可以在不使用.NET的情况下使用C ++.它比.NET早了几十年.您也不必使用Visual Studio for C ++,甚至不必使用Microsoft创建的任何工具.您可以从一系列IDE中进行选择.
You can use C++ without .NET. It predates .NET by a few decades. You also don''t have to use Visual Studio for C++, or anything even created by Microsoft. You can choose from a range of IDE''s.


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

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