Code Reading: The Open Source Perspective, Volume 1

Front Cover
Addison-Wesley Professional, 2003 - Computers - 495 pages
You've got a day to add a new feature in a 34,000-line program: Where do you start? How can you understand and simplify an inscrutable piece of code? Where do you start when disentangling a complicated build process? How do you comprehend code that appears to be doing five things in parallel? You may read code because you have to, to fix it, inspect it, or improve it. You may read code the way an engineer examines a machine, to discover what makes it tick. Or you may read code because you are scavenging, looking for material to reuse. Code-reading requires its own set of skills, and the ability to determine which technique you use when is crucial. In this book, Diomidis Spinellis uses more than 600 real-world examples to show you how to identify good (and bad) code: how to read it, what to look for, and how to use this knowledge to improve your own code.
 

What people are saying - Write a review

User ratings

5 stars
4
4 stars
1
3 stars
1
2 stars
0
1 star
0

User Review - Flag as inappropriate

if you wanna make a habit of READING good code, you will write better code yourself

Contents

VI
1
VII
2
IX
5
X
6
XI
7
XII
9
XIV
10
XVI
12
CI
215
CII
224
CIII
225
CVI
228
CVII
230
CVIII
234
CIX
237
CX
239

XVII
13
XVIII
14
XX
15
XXII
17
XXIII
19
XXVI
25
XXVII
28
XXVIII
32
XXIX
34
XXX
37
XXXI
39
XXXII
43
XXXIII
45
XXXIV
51
XXXV
54
XXXVI
60
XXXVII
61
XXXIX
62
XLI
63
XLII
65
XLIV
67
XLV
70
XLVI
72
XLVII
74
XLVIII
75
L
76
LII
78
LIII
80
LV
81
LVI
82
LVII
84
LVIII
87
LIX
89
LX
91
LXI
93
LXII
95
LXIV
96
LXV
101
LXVI
105
LXVII
107
LXVIII
111
LXIX
113
LXX
116
LXXI
117
LXXII
125
LXXIII
131
LXXV
134
LXXVI
137
LXXVII
139
LXXIX
140
LXXXI
143
LXXXIV
150
LXXXV
154
LXXXVII
156
LXXXVIII
162
LXXXIX
165
XC
169
XCI
172
XCII
177
XCIII
179
XCVI
181
XCVII
189
XCVIII
197
XCIX
202
C
210
CXI
240
CXII
241
CXV
243
CXVI
254
CXVII
256
CXVIII
260
CXIX
266
CXX
267
CXXII
268
CXXIV
273
CXXV
275
CXXVI
279
CXXVII
282
CXXVIII
283
CXXIX
285
CXXXI
289
CXXXII
291
CXXXIII
292
CXXXIV
293
CXXXV
296
CXXXVI
300
CXXXVII
313
CXXXVIII
318
CXXXIX
319
CXL
323
CXLI
325
CXLIII
328
CXLIV
329
CXLV
330
CXLVI
331
CXLVII
333
CXLVIII
337
CXLIX
339
CL
340
CLI
343
CLII
346
CLIII
355
CLIV
357
CLV
360
CLVI
365
CLVII
370
CLVIII
375
CLIX
376
CLX
379
CLXI
380
CLXII
382
CLXIII
388
CLXIV
396
CLXV
397
CLXVI
399
CLXVII
403
CLXVIII
405
CLXIX
413
CLXX
415
CLXXI
416
CLXXIII
417
CLXXIV
418
CLXXVI
419
CLXXVII
422
CLXXX
423
CLXXXI
425
CLXXXII
445
CLXXXIII
459
CLXXXIV
491
Copyright

Other editions - View all

Common terms and phrases

About the author (2003)

Diomidis Spinellis has been developing the concepts presented in this book since 1985, while also writing groundbreaking software applications and working on multimillion-line code bases. Spinellis holds an M.Eng. degree in software engineering and a Ph.D. in computer science from Imperial College London. Currently he is an associate professor in the Department of Management Science and Technology at the Athens University of Economics and Business.



Bibliographic information