Effective C++ Note (1, Introduction)
来源:互联网 发布:inspiration软件 编辑:程序博客网 时间:2024/05/17 02:12
judicious: showing or having good sense || intuitive: of or coming from intuition; possessing intuition;
A judiciously chosen and carefully craft set of classes, functions, and templates can make application programming easy,intuitive, efficient, and nearly error-free.
unduly: more than is right or proper, excessively
It isn't unduly difficult to write effective C++ programs, if you know how to do it.
plain: clearly; absolutely
Used without discipline, however, C++ can lead to code that is incomprehensible, unmaintainable, inextensible, inefficient, and justplain wrong.
the nuts and bolts of sth: detailed practical aspect of sth (注:nut 螺母,bolt 螺栓)
The advice I proffer falls into two broad categories: general design strategies, andthe nuts and bolts of specific language features.
at the outset: at the beginning
It's important to make these decisions correctly at the outset, because a poor choice may not become apparent until much later in the development process, at which point rectifying it is often difficult, time-consuming, and expensive.
sweat: work hard
It's is crucial to sweat details like these, because failure to do so almost always leads to unexpected, possibly mystifying program behavior.
kludge: clumsy, lame, ugly, dumb, but good enough
Portability is a key concern in this book, so if you're looking for platform-dependent hacks andkludges, this is not the place to find them.
color: affect someone's decision or opinion about sth ||guideline: official instruction or advice
Software design and implementation is a complex task, one colored by the constraints of hardware, the operating system, and the application, so the best I can do is to provideguidelines for creating better program.
rationale: fundamental reason for or logical basis of sth || toil: work long or hard
Only by understanding the rationalebehind an Item can you determine whether it applies to the software you are developing and to the unique constraints under which youtoil.
decent: proper, acceptable; satisfactory, quite good
If you're unfamiliar with STL, you'll want to have a decent reference available as you read this book, because STL is too useful for me not to take advantage of it.
steer clear of: avoid becoming involved with sth.
Effective C++ programmers do their best to steer clear of undefined behavior.
be on the lookout for/ keep a lookout for : to be watching carefully to find, obtain, or avoid someone or something
In this book, I point out a number of places where you need to be on the lookout for it.
gloss over sth : treat sth briefly, in a superficial or an incomplete way, so as to avoid embarrassing details.
In this book, I often gloss over the distinction between functions and function templates and between classes and class templates.
chasm : deep opening in the ground, abyss, gorge; wide difference
My approach to dealing with this chasm between standard C++ and reality is to point out places where the C++ constructs I examine are likely to cause problems in a threaded environment.
tide sb over (sth) : help sb through (a difficult period) by providing what he needs
If you like, you can turn to those Items and read them now, but if you'd prefer to start the book at the beginning instead of the end, the following executive summary willtide you over.
- Effective C++ Note (1, Introduction)
- 《Effective C++》 Reading Note 1
- Effective C++:0 Introduction
- 《Effective C++》 Reading Note 2
- 《Effective C++》 Reading Note 3
- 《Effective C++》 Reading Note 4
- [翻译] Effective C++, 3rd Edition, Introduction(导言)
- WPF Study Note 1: Introduction
- Jordan Lecture Note-1: Introduction
- Lecture note 1: Introduction to TensorFlow(斯坦福Tensorflow课程)
- Effective C++读书笔记(1)-Introduction
- Effective C++ (reading note)
- C++1(Effective C++)
- <<Effective C++>>读书笔记(1)
- Spring v3.0.2 Learning Note 1 - Introduction to Spring Framework
- Effective C++ Item02 Note
- Effective C++ Item03 Note
- Effective C++ Item04 Note
- poj2228 Naptime
- 利用 AttachThreadInput 改变其它进程的输入法状态
- js 各种循环性能大比拼
- 5钟页面跳转
- 读写cookie
- Effective C++ Note (1, Introduction)
- js中取小数整数部分函数
- 如何修改Android应用程序能够使用的默认最大内存值
- 合唱队形----RQNOJ_26----最长单调子序列
- 我对IO多路转换的理解
- Struts2 文件上传
- 莫续残诗----倾听,那一季温柔的馨香。
- 做网站的人必看的N大定律
- Ubuntu目录安排