text.skipToContent text.skipToNavigation
  1. Home
  2. Computer Science & IT
  3. Practice of Programming, The

Practice of Programming, The, 1st edition

  • Brian W. Kernighan
  • Rob Pike

Published by Addison-Wesley Professional (February 4th 1999) - Copyright © 1999

1st edition

Chosen format
View all
Practice of Programming, The

ISBN-13: 9780133133417

Includes: Unassigned

This product is not available in your country

What's included

  • Unassigned

Overview

Table of contents



1. Style.

Names.

Expressions and Statements.

Consistency and Idioms.

Function Macros.

Magic Numbers.

Comments.

Why Bother?


2. Algorithms and Data Structures.

Searching.

Sorting.

Libraries.

A Java Quicksort.

O-Notation.

Growing Arrays.

Lists.

Trees.

Hash Tables.

Summary.


3. Design and Implementation.

The Markov Chain Algorithm.

Data Structure Alternatives.

Building the Data Structure in C.

Generating Output.

Java.

C++.

Awk and Perl.

Performance.

Lessons.


4. Interfaces.

Comma-Separated Values.

A Prototype Library.

A Library for Others.

A C++ Implementation.

Interface Principles.

Resource Management.

Abort, Retry, Fail?

User Interfaces.


5. Debugging.

Debuggers.

Good Clues, Easy Bugs.

No Clues, Hard Bugs.

Last Resorts.

Non-reproducible Bugs.

Debugging Tools.

Other People's Bugs.

Summary.


6. Testing.

Test as You Write the Code.

Systematic Testing.

Test Automation.

Test Scaffolds.

Stress Tests.

Tips for Testing.

Who Does the Testing?

Testing the Markov Program.

Summary.


7. Performance.

A Bottleneck.

Timing and Profiling.

Strategies for Speed.

For teachers

All the material you need to teach your courses.

Discover teaching material