作为新手,我应该首先学习哪种编程. [英] Which programming should i learn first as a newbie.

查看:59
本文介绍了作为新手,我应该首先学习哪种编程.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请我需要帮助.
我不知道该先学哪种语言.
有人说,javascript,C,python,C ++,C#

请问哪一种是编程世界中新手的最佳语言..
我建议您购买并阅读您建议的那本书.

谢谢您的帮助.

Please i need help.
I dont know which language to learn first.
Some says,javascript,C,python,C++,C#

please which one is the best language for a newbie in programming world..
And which book the you recommand i should buy and read.

Thanks for you help

推荐答案

实际上,我认为这是对您有用的答案:太危险了,不能依靠任何陌生人的回答.世界,不管答案有多好.

我什至必须解释为什么吗?我们不知道你是什么,你想做什么.无论如何,我可以指出,有些语言是任何人都不应使用的,但是……从您的清单中,没有人会被认为是那么糟糕.即使是愚蠢而古老的C也有好处.以某些嵌入式系统为例.您想做的事情也很重要.例如,如果您想进行任何Web开发,那么如果没有JavaScript,您将无法承受.是的,这种语言很难理解(尽管许多应用程序看起来很简单)并且很难调试,但是它是客户端脚本无法替代的标准之一,因此您需要了解它,加上其他多种语言.

这是关键:您想成为一个体面的知名开发商吗?如果是这样,请忘记语言的选择:您将需要了解各种语言.您将只能选择您主要关注的某些语言,但是您将无法负担不熟悉其他多种语言的负担.另外,尝试着重于从语言中抽象出来的编程技术.尝试看到共同的方面,而不是差异.您根本无法学习所有内容,这就是为什么您需要首先关注基础知识的原因,并且在需要时更容易学习细节.但是基础知识应该很深.

—SA
Practically, I think this is the answer which could serve your well: That would be too dangerous to rely upon the answer by any stranger in the world, no matter how good is the answer.

Do I even have to explain why? We don''t know what are you and what you want to do. Anyway, I could point out that there are some languages which no one should ever use, but… from your list, no one could be considered that bad. Even stupid and archaic C is good for something; take, for example, some embedded systems. What you want to do is also important. For example, if you want to do any Web development at all, you cannot afford going about it without JavaScript. Yes, this language is pretty hard to understand (despite of apparently simple look of many applications) and hard to debug, but it''s one of the standards having no alternatives for client-side scripting, so you will need to know it, plus a number of other languages.

This is the key: do you want to become a decent reputed developer? If so, forget about the choice of languages: you will need to know a decent set of them. You will only be able to choose some languages of your main focus, but you won''t be able to afford being not familiar with a number of others. Also, try to focus on programming technologies somewhat abstracted from the languages; try to see the common aspects rather then differences. You cannot learn everything at all, that why you will need to focus on the fundamentals first, and the detail will be much easier to learn when you need them. But the knowledge of the fundamentals should be very deep.

—SA


看看 C ++ Builder [^ ]

我个人认为学习一种使您与硬件接近"的语言是个好主意.从某种意义上讲,可以说汇编是一种很好的第一语言,只是您会发现该练习相当令人沮丧.

C ++ Builder带有一组库和一个可视化的用户界面生成器,使用起来非常令人愉悦-不需要您一次学习所有内容.

最好的问候
Espen Harlinn
Have a look at C++ Builder[^]

Personally I think it''s a good idea to learn a language that allows you to get "close" to the hardware. In a way it could be argued that assembly is a good first language, except that you would proably find the exercise rather frustrating.

C++ Builder comes with a set of libraries, and a visual user interface builder, that is rather gratifying to work with - that does not require you to learn everything at once.

Best regards
Espen Harlinn


我认为,您所了解的语言越多,从全局上看到的内容就越多.它更容易用C#等高级语言进行编程,但某些问题只能用C等较低级的语言解决.当然,还有很多问题,高级语言提供的解决方案比低级语言好1000倍. .从低级语言(如asm/C)开始和从高级语言(C#/java)开始都有自己的优势.

如果您对旋转,嵌入式系统,操作系统内部/驱动程序更感兴趣,那么可以从C,汇编语言(可能是更高版本的C ++)开始.警告!!!如果您不是为了娱乐而这样做,那对您来说将是地狱.真的.但是,如果您喜欢它,那么它就是天堂. :-)试试看!

如果您想学习更高层次的知识,例如企业软件开发和相关框架,数据库,面向对象的设计,请从C#或Java开始.在我看来,Java是比C#简单得多的语言,虽然学习起来容易得多,但是更好地了解了这两种语言.如果您刚刚开始学习面向对象的编程,那么一定要使用C#或Java,因为它们可以很好地检测到您的早期错误,而C ++只会在您面前抛出奇怪的崩溃,例如,在强制转换无效的情况下(在您的随机点上)代码...).

在我看来,如果有人有时间学习较低级的东西(甚至更好:学习它只是为了业余爱好),那么向较高级的语言学习是一件轻而易举的事,但是对于相反的顺序而言,情况并非如此.一些只具有较高级别的程序员往往无法和/或不愿意迈向较低级别.

有一些非常无用的语言,但是您列出的语言非常流行,并且在某些领域/场景中很有用.列出您认为您会喜欢的几个发展领域,然后我们可以提供更多有关哪种语言最适合该领域的帮助.你对什么感兴趣呢? (在这种情况下,一切"都不是一个好答案... :-))当然,迟早您应该学习大多数这些语言...
I think the more languages you know the more you see from the big picture. Its easier to program in higher level languages like C# but some problems can be solved only with lower level ones like C. Of course there are a big set of problems as well where a higher level languages offers 1000 times better solutions than a lower level one. Both starting with a low level language (like asm/C) and with a high level one (C#/java) have their own advantages.

If you are more interested in bit twiddling, embedded systems, operating system internals/drivers then start with C, assembly, maybe later C++. Warning!!! If you are not doing this for fun it will be hell for you. Really. But if you like it then its heaven itself. :-) Lets make a try!

If you want to learn higher level stuff like enterprise software development and related frameworks, databases, object oriented design, then start with C# or java. In my opinion java is a much simpler language than C# and is much easier to learn but its better to know both of them. If you are just starting to learn object oriented programming then definitely go with C# or java as these detect your early mistakes quite well unlike C++ that just throws strange crashes in front of you for example in case of an invalid cast (at random points in your code...).

In my opinion if someone has the time to learn the lower level stuff (or even better: learns it just for fun as ahobby) then progressing up towards higher level languages is a breeze, but the same isn''t true for the reverse order. Some higher-level-only programmers tend to be unable and/or unwilling to proceed towards lower levels.

There are some pretty useless languages but those you listed are very popular and shine in some areas/scenarios. List a few areas of development that you think you would enjoy and then we can help more on which language fits that area the most. What are you interested in? ("Everything" is not a good answer in this case... :-)) Of course sooner or later you should learn most of these langs...


这篇关于作为新手,我应该首先学习哪种编程.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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