A Philosophy of Software Design
A Philosophy of Software Design
A Philosophy of Software Design
John Ousterhout
Stanford University
Contents
Preface vii
1 Introduction 1
1.1 How to use this book 3
i
Contents
4.8 Conclusion 27
ii
Contents
11 Design it Twice 91
13 Comments Should Describe Things that Aren't Obvious from the Code 101
13.1 Pick conventions 102
13.2 Don't repeat the code 103
iii
Contents
17 Consistency 141
17.1 Examples of consistency 141
17.2 Ensuring consistency 142
17.3 Taking it too far 144
iv
Contents
21 Conclusion 169
Index 171