
| 本书是著名计算机专家Brian W.Kernighan的畅销作品,曾在国内外受到广泛赞誉。 译者裘宗燕,名著名译,双语重温 |
| Brian W.Kernighan,贝尔实验室计算科学研究中心高级研究人员,著名的计算机科学家。他参加了UNIX系统、C语言、AWK语言和许多其他系统的开发,同时出版了许多在计算机领域具有影响的著作,包括《The Elements of Programming Style》、《The Practice of Programming》、《The UNIX Programming Environment》、《The AWK Language》、《Software Tools》等。 .. << 查看详细 |
| 译者序 preface/前言 chapter 1:style/风格 1.1 names/名字 1.2 expressions and statements/表达式和语句 1.3 consistency and idioms/一致性和习惯用法 1.4 function macros/函数宏 1.5 magic numbers/神秘的数 1.6 comments/注释 1.7 why bother?/为何对此费心 chapter 2:algorithms and data structures/算法与数据结构 2.1 searching/检索 2.2 sorting/排序 2.3 libraries/库 2.4 a java quicksort/一个java快速排序 2.5 o—notation/大o记法 2.6 growing arrays/可增长数组 2.7 lists/表 2.8 trees/树 2.9 hash tables/散列表 . 2.10 summary/小结 chapter 3:design and implementation/设计与实现 3.1 the markov chain algorithm/马尔可夫链算法 3.2 data structure alternatives/数据结构的选择 3.3 building the data structure in c/在c中构造数据结构 3.4 generating output/生成输出 3.5 java/java 3.6 c++/c++ 3.7 awk and perl/awk and perl 3.8 performance/性能 3.9 lessons/经验教训 chapter 4:interfaces/界面 4.1 comma—separated values/逗号分隔的值 4.2 a prototype library/一个原型库 4.3 a library for others/为别人用的库 4.4 a c++implementation/c++实现 4.5 interface principles/界面原则 4.6 resource management/资源管理 4.7 abort,retry,fail?/终止、重试或失败 4.8 user interfaces/用户界面 chapter 5:debugging/排错 5.1 debuggers/排错系统 5.2 good clues,easy bugs/好线索,简单错误 5.3 no clues,hard bugs/无线索,难办的错误 5.4 last resorts/最后的手段 5.5 non—reproducible bugs/不可重现的错误 5.6 debugging tools/排错工具 5.7 other people’s bugs/其他人的程序错误 5.8 summary/小结 chapter 6:testing/测试 6.1 test as you write the code/在编码过程中测试 6.2 systematic testing/系统化测试 6.3 test automation/测试自动化 6.4 test scaffolds/测试台 6.5 stress tests/应力测试 6.6 tips for testing/测试秘诀 6.7 who does the testing?/谁来测试 6.8 testing the markov program/测试马尔可夫程序 6.9 summary/小结 chapter 7:performance/性能 7.1 a bottleneck/瓶颈 7.2 timing and profiling/计时和轮廓 7.3 strategies for speed/加速策略 7.4 tuning the code/代码调整 7.5 space efficiency/空间效率 7.6 estimation/估计 7.7 summary小结 chapter 8:portability/可移植性 8.1 language/语言 8.2 headers and libraries/头文件和库 8.3 program organization/程序组织 8.4 isolation/隔离 8.5 data exchange/数据交换 8.6 byte order/字节序 8.7 portability and upgrade/可移植性和升级 8.8 internationalization/国际化 8.9 summary/小结 chapter 9:notation/记法 9.1 formatting data/数据格式 9.2 regular expressions/正则表达式 9.3 programmable tools/可编程工具 9.4 interpreters,compilers.and virtual machines/解释器、编译器和虚拟机 9.5 programs that write programs/写程序的程序 9.6 using macros to generate code/用宏生成代码 9.7 compiling on the fly/运行中编译 epilogue/后记 appendix:collected rules/附录:规则汇编 |
商品评论(0条)