C++程序设计语言

Bjarne Stroustrup

出版时间

2010-02-28

ISBN

9787111298854

评分

★★★★★

标签

编程

书籍介绍
这不是一本教你写代码的入门书,而是一位语言设计者对“如何用好一门语言”的深度思考。由C++之父亲自撰写的它,真正有价值的部分不在语法细节,而在“++”所代表的抽象能力——如何用类、泛型、接口去组织复杂系统。书中反复强调:接口的意义在于最小化模块间的依赖,良好的设计让系统更易理解、更易修改。它适合已有一定实战经验、渴望从“会写”走向“写好”的程序员,也适合想探究标准背后设计哲学的读者。需提醒的是,中文版译文质量争议较大,部分术语(如interface译作“界面”)不够专业,建议搭配英文原版对照阅读。
作者简介
斯特朗斯特鲁普(Bjarne Stroustrup),英国剑桥大学计算机科学博士,C++语言的设计者和最初的实现者,也是《C++程序设计原理与实践》和《C++语言的设计和演化》的作者。他现在是德州农工大学计算机科学首席教授,同时不审AT&T贝尔实验室特别成员。1993年,由于在C++领域的重大贡献,他获得了ACM的Grace Murray Hopper大奖并成为ACM院士;2008年,他又获得了Dr.Dobbs杂志的程序设计杰出奖。在进入学术界之前,他在AT&T贝尔实验室工作。他是ISO C++标准委员会的创始人之一。
AI导读
核心看点
  • C++之父亲笔撰写,语言设计权威指南
  • 全面覆盖标准C++及关键编程设计技术
  • 贯穿软件设计思想,每章附实用建议
读者共识
  • 内容权威经典,被誉为C++领域的圣经
  • 译文质量备受诟病,术语翻译令人抓狂
  • 侧重整体设计与原理,适合进阶与查阅
精彩摘录
  • "[2.13.4]2.Whether all string literals are distinct (that is, are stored in nonoverlapping objects) is implementation-defined. The effect of attempting to modify a string literal is undefined."
  • "A namespace is a scope. Thus, "namespace" is a very fundamental and relatively simple conecpt. The larger a program is, the more useful namespaces are to express logical separations of its parts. Ordinary local scopes, global scopes, and classes are namespaces."
  • "Ideally, every entity in a program belongs to some recognizable logical unit("module").Therefore,every declaration in a nontrivial program should ideally be in some namespace named to indicate its logical role in the program. The expception is main(), which must be globa in order for the run-time en"
  • "It is often a good idea to keep local synonyms as local as possible to avoid confusion."
  • "The purpose of interfaces is to minimize dependencies between different parts of a program. Minimal interfaces lead to systems that are easier to understand, have better data hiding properties, are easier to modify, and complie faster."
  • "however,for most problems I face,this solution is also massive overkill."
  • "Decide which modules you want;partition the program so that data is hiden within modules."
  • "Over the years, the emphasis in the design of programs has shifted from the design of procedures and toward the organization of data. Among other things, this reflects an increase in program size. A set of related procedures with the data they manipulate is often called a module. The programming par"
目录
出版者的话
专家指导委员会
中文版序
译者序

显示全部
用户评论
我觉得比c++ primer写得好
interface翻译成界面,inline翻译成在线,看得人抓狂啊。。。
翻译太烂
大神自己写的书就是不一样啊,同C programming language 一样的地位吧
'This book is the most complete and up-to-date book on standard c++'; functional和allocator需要深入了解,虽然有大牛说后者是多余的。
经典,可惜没读完
可能是這本 反正都差不多 讀得欲仙欲死 享受到了用頭腦裡的證明支配現實世界的快感 就是Kant所謂先驗綜合判斷 ?
翻译简直就是个渣,完全就是照着句子翻,上下文之间没有联系,完全是没用心翻译,辣鸡译者
最近在看标准库部分,感觉惊呆了。别的书中举的例子都是如何使用vector等容器,而本书中的例子直接就是vector等容器的实现啊,跟自己用的GCC里的库代码几乎一模一样啊,果然还是C++之父牛逼啊!
当时貌似是看的这本书开始学的C++,第四部分没看。C++ Primer一直看不进去,奥想起来了,当时的同事借了我的C++ Primer还没还我,4,5年前的事了
下载
收藏