测试驱动开发:实用指南
作者:Dave Astels

定价:58.00元
 
 企业应用构架模式(影印版)
作者:马丁·福勒

定价:49.80元

  编程珠玑(影印版) (Programming Pearls, 2nd Edition)
 译者:Jon Bentley
 定价:28.00元

 
内容简介:
   本书是作者编程经验的结晶,由发表在杂志上的专栏文章构成,每一章内容相对独立,但都是编程过程中的有机组成部分。本书内容包括问题定义、算法、数据结构、程序验证与测试、程序优化与效率问题,以及这些技巧在排序、查找和字符串处理等方面的几个实际应用。
本书每章末尾都附带有相关内容的问题,附录中给出了一些问题的提示和解答。仔细思考问题或与同事进行讨论,可以巩固所学知识,将作者的经验应用到自己的编程实践中。本书主要针对有过大型项目编程经验的程序员。


   When programmers list their favorite books, Jon Bentley’s collection of programming pearls is commonly included among the classics. Just as natural pearls grow from grains of sand that irritate oysters, programming pearls have grown from real problems that have irritated real programmers. With origins beyond solid engineering, in the realm of insight and creativity, Bentley’s pearls offer unique and clever solutions to those nagging problems. Illustrated by programs designed as much for fun as for instruction, the book is filled with lucid and witty descriptions of practical programming techniques and fundamental design principles. It is not at all surprising that Programming Pearls has been so highly valued by programmers at every level of experience.

In this revision, the first in 14 years, Bentley has substantially updated his essays to reflect current programming methods and environments. In addition, there are three new essays on
? testing, debugging, and timing
? set representations
? string problems
All the original programs have been rewritten, and an equal amount of new code has been generated. Implementations of all the programs, in C or C++, are now available on the Web.

What remains the same in this new edition is Bentley’s focus on the hard core of programming problems and his delivery of workable solutions to those problems. Whether you are new to Bentley’s classic or are revisiting his work for some fresh insight, the book is sure to make your own list of favorites.!

 
目录:

I. PRELIMINARIES.

Column 1. Cracking the Oyster.

A Friendly Conversation.


Precise Problem Statement.


Program Design.


Implementation Sketch.


Principles.


Problems.


Further Reading.

Column 2. Aha! Algorithms.

Three Problems.


Ubiquitous Binary Search.


The Power of Primitives.


Getting It Together: Sorting.


Principles · Problems.


Further Reading.


Implementing an Anagram Program.

Column 3. Data Structures Programs.

A Survey Program.


Form-Letter Programming.


An Array of Examples.


Structuring Data.


Powerful Tools for Specialized Data.


Principles.


Problems.


Further Reading.

Column 4. Writing Correct Programs.

The Challenge of Binary Search.


Writing the Program.


Understanding the Program.


Principles.


The Roles of Program Verification.


Problems.


Further Reading.

Column 5. A Small Matter of Programming.

From Pseudocode to C.


A Test Harness.


The Art of Assertion.


Automated Testing.


Timing.


The Complete Program.


Principles.


Problems.


Further Reading.


Debugging.

II. PERFORMANCE.

Column 6. Perspective on Performance.

A Case Study.


Design Levels.


Principles.


Problems.


Further Reading.

Column 7. The Back of the Envelope.

Basic Skills.


Performance Estimates.


Safety Factors.


Little's Law.


Principles.


Problems.


Further Reading.


Quick Calculations in Everyday Life.

Column 8. Algorithm Design Techniques.

The Problem and a Simple Algorithm.


Two Quadratic Algorithms.


A Divide-and-Conquer Algorithm.


A Scanning Algorithm.


What Does It Matter?


Principles.


Problems.


Further Reading.

Column 9. Code Tuning.

A Typical Story.


A First Aid Sampler.


Major Surgery—Binary Search.


Principles.


Problems.


Further Reading.

Column 10. Squeezing Space.

The Key—Simplicity.


An Illustrative Problem.


Techniques for Data Space.


Techniques for Code Space.


Principles.


Problems.


Further Reading.


A Big Squeeze.

III. THE PRODUCT.

Column 11. Sorting.

Insertion Sort.


A Simple Quicksort.


Better Quicksorts.


Principles.


Problems.


Further Reading.

Column 12. A Sample Problem.

The Problem.


One Solution.


The Design Space.


Principles.


Problems.


Further Reading.

Column 13. Searching.

The Interface.


Linear Structures.


Binary Search Trees.


Structures for Integers.


Principles.


Problems.


Further Reading.


A Real Searching Problem.

Column 14. Heaps.

The Data Structure.


Two Critical Functions.


Priority Queues.


A Sorting Algorithm.


Principles.


Problems.


Further Reading.

Column 15. Strings of Pearls.

Words.


Phrases.


Generating Text.


Principles.


Problems.


Further Reading.

Copyright ©1998~2004 华储网. All rights reserved。
To comment on this site,E-mail :
webmaster@huachu.com.cn
<% set rs=nothing conn_tsmlk.close set conn_tsmlk=nothing endtime=timer() response.write "页面执行时间:"&FormatNumber((endtime-startime)*1000,3)&"毫秒" %>