Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upTypos in Handbook (2nd ed., 3rd prt.) #545
Comments
|
Suggestion for improved coding convention in “Objects” chapter, exemplified by a modified version of Code example 25-04:
|
|
Suggestion for Page 424 in chapter “Arrays”: In addition to mentioning the
might be useful for the reader. The former is prone to blow an ArrayIndexOutOfBoundsException if The latter creates a new (I'm not Java-savvy, but come from a C/C++ background, so I was wondering about “deep copy” vs. “reference” of the |
|
First full reading finished. Issue ready to be processed. |
|
Thank you for these! That was a tremendous amount of work. I'm sending the following on to the publisher:
|
Issue description
Page xvii, line -7: “the ability to create refined graphics”
Page 11, sample 2-02: “Set line
valuecolor to white”Page 43, lines 7–8: “until it is changed again”
In chapter 7, “Interactivity,” several occurrences of value
100should be replaced bywidthandheight, resp.Page 101, code 7-32: replace the secondheightwithwidthPage 103, lines 13–14: “… into
amore compact, but equivalent expressions.”Page 103, line 17: “…, it makes
isit easier to …”Page 146, line 11: there appears to be a double blank in “a file”
Page 165, line -9: “The following example draws a black box” (and the example output is missing)
Page 195, line -8: “the center of the letter O”
Page 195, line -2: “cut the smaller triangle
cutout of the larger”Page 195, line -1: “
beginContour()”Page 218, line -12: “In addition
alto storing“Page 283: Delete line -2.
Page 289, line -10: “The next example
sshows …”Page 299: Unfortunate break between lines 4 and 5.
Page 299, line 6: “greater
thatthan 0.5”Page 306, line 17: “If
directionis 1, thendirectionwill become -1 and vice versa.”Page 316: In the comments of code 22-11 replace
large circleswithlarge circle.Page 341, line -11: “the first parameter must be …”
Page 346, line 20: “a color
orof hexadecimal value”.Page 404, line 10: “a whole lot from frame to frame”
Page 407, line 24: un-slant “Messa di Voce”
Page 415, .ine -6: “The following examples … demonstrate
s…”Page 428: I suggest a new subtitle “Enhanced for loop” after code 28-25.
Page 429, line 3: “diagram above into
tocode:”.Page 429, code 28-27: remove spaces in data pairs.
Page 440, line 3: excessive spacing in “AARON ’s”.
Page 495, line 12: Rephrase with one ‘available’ less.
Page 500, line 18: delete duplicate ‘length’.
Page 547, line -15: “Programmers decide
s…”Page 551, line 6: “The
setup()isin this example …”Page 556, line -4: “… are the primary ways …”
Page 563, line 5: “
... (sin(angle) * curveWidth);”Page 565, lines -6 and -7: Add a space around
*.Page 573, line -9;
y1 = height/2;Page 590, line 2: “[I] wonder if I would
ofhave made”Page 601, line -2: delete redundant “then”
Pages 606–608: the table header should be repeated, at least on every page, if not in every column
Page 610, line 10: missing closing parenthesis for “(p. 604 for text”
Page 622, line 6: “The name C++ is a geeky way”
Page 623, line -5: delete one “the” at the end
Page 624, line 8: “with the addition
alof”Page 627, entry “Cohen, Harold”: replace hyphen with en-dash in “1973–1999”
Page 633, entry “data type”: “can be stored in variables”