Java Puzzlers Traps, Pitfalls, and Corner Cases
Joshua Bloch, Neal Gafter
In the tradition of Effective Java™, Bloch and Gafter dive deep into the subtleties of the Java programming language and its core libraries. Illustrated with visually stunning optical illusions, Java™ Puzzlers features 95 diabolical puzzles that educate and entertain. Anyone with a working knowledge of Java will understand the puzzles, but even the most seasoned veteran will find them challenging.
Most of the puzzles take the form of a short program whose behavior isnt what it seems. Can you figure out what it does? Puzzles are grouped loosely according to the features they use, and detailed solutions follow each puzzle. The solutions go well beyond a simple explanation of the programs behavior--they show you how to avoid the underlying traps and pitfalls for good. A handy catalog of traps and pitfalls at the back of the book provides a concise taxonomy for future reference. Solve these puzzles and youll never again fall prey to the counterintuitive or obscure behaviors that can fool even the most experienced programmers.
Most of the puzzles take the form of a short program whose behavior isnt what it seems. Can you figure out what it does? Puzzles are grouped loosely according to the features they use, and detailed solutions follow each puzzle. The solutions go well beyond a simple explanation of the programs behavior--they show you how to avoid the underlying traps and pitfalls for good. A handy catalog of traps and pitfalls at the back of the book provides a concise taxonomy for future reference. Solve these puzzles and youll never again fall prey to the counterintuitive or obscure behaviors that can fool even the most experienced programmers.
年:
2005
出版商:
Addison-Wesley Professional
語言:
english
頁數:
379
ISBN 10:
032133678X
ISBN 13:
9780321336781
文件:
PDF, 10.97 MB
IPFS:
,
english, 2005