Programming abstractly

4/27/99


Click here to start


Table of Contents

Programming abstractly

Remember the purpose of the course

The most important idea

Abstraction is selective ignorance

Kinds of abstraction

Design

What makes a good design

Design strategy

Design tactics

Class definitions as a design aid

Implementation abstraction

An example of abstraction
(in Awk)

Why was this program easy?

A similar program in C++

Why was this program easy?

Comparing C++ with Awk

The real difference

What about performance?

Possible conclusions

Abstraction and chunking

Chunking

An example of chunking

The point of chunking

Another example of chunking

Object-oriented programming

Why is OOP useful?

OOP is not the world

Generic programming

C++ templates

Memory management

Advice about programming

Advice about languages

Meta-advice

Author: Andrew Koenig

Email: ark@research.att.com

Home Page: http://www.research.att.com/info/ark