Based on Bloch and Gafter's standing room only Java Puzzlers talk at JavaOne, the heart of the book comprises over 100 Java programming language puzzlers: brainteasers that challenge the intellect while alerting programmers to the traps, pitfalls, and corner cases that lurk in the nether regions of the Java platform. All of the puzzles from the authors' popular JavaOne presentations are included, as are many puzzles never before seen in public. There are two major types of puzzles in the book. Most of the puzzles take the form of short programs that appear to do something but actually do something else. Readers will be encouraged to predict the behavior of the program before running it. After running the program, readers will be encouraged to figure out why it behaved as it did before consulting the solution. In a second type of puzzle, the reader will be asked to write a short program that performs some specific task. Most of the solutions will contain a moral, a rule the reader can follow to avoid the problematic behavior demonstrated in the puzzle. The puzzles are grouped into chapters based on the primary platform features they exercise and to maximize readability, fun, and pedagogical effectiveness.
Joshua Bloch Livres




Since this Jolt-award winning classic was last updated in 2008 (shortly after Java 6 was released), Java has changed dramatically. In this new edition, Bloch updates the work to take advantage of Java's new language and library features, and provides specific best practices for their use. (Computers - Languages/Programming)
Java efektivně. 57 zásad softwarového experta
- 230pages
- 9 heures de lecture
Kniha se výrazně liší od běžných programátorských příruček, soustřeďuje se na praktické a efektivní používání Javy a jejích konstrukcí. Nabídne vám 57 cenných rad řešících programátorské problémy, s nimiž se většina vývojářů denně setkává. Obsahuje přesný a výstižný popis technik používaných experty, kteří vyvinuli platformu Java. Tyto rady jasně popisují, co dělat a co naopak nedělat, aby vaše programy byly průzračné, robustní a efektivní.