Bjarne Stroustrup说 [英] Bjarne Stroustrup says

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

问题描述

Hello all


Bjarne Stroustrup说学习时最重要的事情
C ++是专注于概念而不是语言迷失-technical

详情"和专注于编程技巧,而不是语言

功能在他的书< The C ++ Programming Language>。


我不遵循这些。

Bjarne Stroustrup究竟是什么意思?

Hello all

Bjarne Stroustrup says "The most important thing to do when learning
C++ is to focus on concepts and not get lost in language-technical
details" and "Focus on programming techniques, not on language
features" in his book <The C++ Programming Language>.

I don''t follow these.
What does Bjarne Stroustrup actually mean?

推荐答案

" Teddy" <杜******** @ hotmail.com>在消息中写道

news:11 ********************** @ g44g2000cwa.googlegr oups.com ...
"Teddy" <du********@hotmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
大家好。

Bjarne Stroustrup说学习时最重要的事情C ++是专注于概念而不是迷失在语言技术中的细节。 ;和专注于编程技术,而不是语言
特征在他的书< The C ++ Programming Language>中。

我不会遵循这些。
Bjarne Stroustrup究竟是什么意思?
Hello all

Bjarne Stroustrup says "The most important thing to do when learning
C++ is to focus on concepts and not get lost in language-technical
details" and "Focus on programming techniques, not on language
features" in his book <The C++ Programming Language>.

I don''t follow these.
What does Bjarne Stroustrup actually mean?




当你学习C ++时,要依靠简单的概念而不是技术性的b $ b b对语言的理解。例如,将std :: vector视为

序列而不是类模板。


关注C ++的有用方面,而不是功能。例如,想想

>>作为读取操作而不是重载操作符。


希望这会有所帮助。



When you learn C++, rely on simple concepts rather than a technical
understanding of the language. For example, think of std::vector as a
sequence and not a class template.

Focus on the useful aspects of C++ and not the features. For example, think
of >> as a read operation instead of an overloaded operator.

Hope this helps.


Teddy写道:
Bjarne Stroustrup说:学习时最重要的事情是使用C ++来专注于概念,而不是迷失在语言技术中。和专注于编程技术,而不是语言
特征在他的书< The C ++ Programming Language>中。

我不会遵循这些。
Bjarne Stroustrup究竟是什么意思?
Bjarne Stroustrup says "The most important thing to do when learning
C++ is to focus on concepts and not get lost in language-technical
details" and "Focus on programming techniques, not on language
features" in his book <The C++ Programming Language>.

I don''t follow these.
What does Bjarne Stroustrup actually mean?



他的意思是,不要忘记看着树林的森林。

不要把所有的时间花在学习语言的错综复杂上

而不是看到全局并真正开展工作。

您无需了解实施的所有细节

即可获得正确的设计并实现目标。


V


He means, don''t lose the sight of the forest looking at the trees.
Don''t spend all your time learning the intricacies of the language
instead of seeing the big picture and actually doing your work.
You don''t have to know all the minute details of the implementation
to get the design right and achieve your goals.

V


这在学习时可能是真的,但它绝对不是真的在

一般。我已经看过很多人写的代码,他们不会理解语言的复杂性,而且往往很脆弱,而且难以维持。

This might be true when learning, but its definately NOT true in
general. I''ve seen alot of code written by people who didn''t
understand the intricacies of the language and it tends to be brittle
and hard to maintain.


这篇关于Bjarne Stroustrup说的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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