Skip to content

Commit

Permalink
Properly reference Code Complete.
Browse files Browse the repository at this point in the history
  • Loading branch information
bangerth committed Sep 9, 2020
1 parent b1e78fb commit f97bce5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
9 changes: 9 additions & 0 deletions doc/doxygen/references.bib
Original file line number Diff line number Diff line change
Expand Up @@ -907,3 +907,12 @@ @article{melenk2001hp
year = {2001},
doi = {10.1023/A:1014268310921}
}



@Book{CodeComplete,
author = {Steve McConnell},
title = {Code Complete},
publisher = {Microsoft Press},
year = 2004,
edition = {second}}
2 changes: 1 addition & 1 deletion examples/step-1/doc/intro.dox
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ are worthwhile browsing through before you start any large-scale programming:
- You will benefit from becoming a better programmer. An excellent
resource to this end is the book "<a
href="https://en.wikipedia.org/wiki/Code_Complete">Code
Complete</a>" by Steve McConnell (ISBN 978-0735619678). It's already
Complete</a>" by Steve McConnell @code CodeComplete . It's already
a few years old, with the last edition published in 2004, but it has
lost none of its appeal as a guide to good programming practices,
and some of the principal developers use it as a group reading
Expand Down
8 changes: 4 additions & 4 deletions examples/step-26/step-26.cc
Original file line number Diff line number Diff line change
Expand Up @@ -648,10 +648,10 @@ namespace Step26
// state that there may be occasions where they can help avoid code
// duplication and awkward control flow. This may be one of these
// places, and it matches the position Steve McConnell takes in his
// excellent book "Code Complete" about good programming practices
// (see the mention of this book in the introduction of step-1) that
// spends a surprising ten pages on the question of <code>goto</code>
// in general.
// excellent book "Code Complete" @cite CodeComplete about good
// programming practices (see the mention of this book in the
// introduction of step-1) that spends a surprising ten pages on the
// question of <code>goto</code> in general.


// @sect3{The <code>main</code> function}
Expand Down

0 comments on commit f97bce5

Please sign in to comment.