C ++作为第一语言 [英] C++ as a first language

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

问题描述

我已经自学C ++约4个月了。我很喜欢它,我想我做得很好。但是,对我的问题的回答有

I've been self-learning C++ for about 4 months now. I'm enjoying it, and I think I'm doing quite well. However, an answer to a question of mine got me thinking that I might be setting myself up for a fall.

那么,这里的人们认为C ++作为第一种学习语言是什么?

So, what do people here think about C++ as a first language to learn? And is it worth me just carrying on now that I've made a good start?

推荐答案

我不明白为什么人们仍然把语言与图书馆混淆。 (参考链接的答案。)那么如果C ++没有一个原生的音频概念呢?有很多库,你可以很容易地使用C + +,这可能更适合您的具体需求比任何全部标准库音频处理API可以。

I don't understand why people still confuse "language" with "library". (Referring to the linked answer.) So what if C++ doesn't have a "native" concept of audio? There are lots of libraries out there, which you can readily use with C++, and which are probably better suited to your specific needs than any "catch-all" "standard-library" audio processing API could be.

< / rant>

</rant>

C ++是一种困难的语言。还有其他更容易学习。我永远不会争论这一点。

C++ is a difficult language. There are others that are easier to learn. I would never argue about that.

但C ++很容易是最强大的语言之一。它可以高效,高度优雅,一次 。当然,没有什么能阻止你对所有事情做一个大的混乱。

But C++ is easily one of the most powerful languages around. It can be highly efficient, and highly elegant, at once. Of course, nothing keeps you from making a fine big mess of everything, either.

如果我推荐C ++作为第一种编程语言?其实,我不知道更好。其他可能会保护您不犯错误,并使初始成功(例如您的第一个GUI应用程序)更容易。但是如果你建立在C ++的基础上,你将永远在一个安全的基础。实际上,你可能永远不必选择另一种语言。但是如果你想/必须,你会发现它很容易。

If I recommend C++ as a first programming language? Actually, I don't know any better. Others might protect you from making mistakes, and make initial success (e.g. your first GUI application) easier. But if you build on a foundation of C++, you will always be on a secure footing. You might never have to chose another language at all, actually. But if you want / have to, you will find it ridiculously easy.

一个有经验的C ++编码器可以做。 Java在全速在几个星期。另一回合?很多,更难。

An experienced C++ coder can do e.g. Java at full speed in a matter of weeks. The other way round? Much, much more difficult.

很多年后,我觉得我应该修改回答。因为我的孩子要我教他们的编程,我开始这样做。我发现自己实际上从C ++开始...因为我向他们展示了 BF a>第一。绝对没有时间,他们了解内存和指针。然后我继续使用C ++,我们非常享受自己。

Many years later, I felt like I should amend this answer. Since my kids asked me to teach them programming, I started to do so. I found myself actually not starting with C++... because I showed them BF first. In absolutely no time at all, they understood about memory and pointers. Then I went on with C++, and we're enjoying ourselves immensely so far.

这篇关于C ++作为第一语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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