The legend of the book was so bad that I felt fine. Although the original text is more accurate, but if there is a certain basis, can see the question of the situation, or to see Chinese faster, and the book itself is not suitable for beginners to see. Of course, errors and not fluent still have, and the official and online actually did not have a public errata, at least I did not search, searching for "Java Programming Ideas Fourth Edition Errata" when the CSDN is a long post. Perhaps the person who found the problem already understood, does not mean those mistakes.
In this document I found the problem and translation is not good enough places, if anyone can see this article, and found a variety of problems, welcome to add. Open source tools should be all around open source.
1.P, the first line:
Error: 1.39e-43f
correction: 1.39e-43f, i.e.: as the base of the natural logarithm, when you see an expression like 1.39e-43f in Java, go Change Your mind, it really means 1.39x10-43
2.p66,4.3.2 the second paragraph, that is, the beginning of "initialization", the second line:
Error: "If the result obtained is false"
Description: Said is the execution condition for the For loop, and the original text does not refer to True or false. Original: Thisloop performs initialization before the first iteration. Then it performs conditional testing and, in the end of each iteration, some form of "stepping."
Correct: Change to TRUE or delete this sentence.
3.p69, the second paragraph, the last sentence:
Error: You might want to use an emulator for evaluation, which is a tool that can measure code performance.
Description: Also carefully think about what is "simulator", read the original text only know is italic Profiler, refers to the proper noun. Profiler is really a tool that can measure the performance of code, the book is wrong not to translate the proper noun, as if Windows should not be translated into a window. It can be seen here that translators do not understand technology. Online search of the translator "Chenhao Peng", in addition to this book at the same time, is "how many people with the same name Chen Haopeng", there is no other valuable information, that is, the translator is not an IT community, at least he has no blog and other aspects of visibility.
Correction: Use Profiler directly.
Java Programming Ideas Fourth Edition Errata