JOSHUA BLOCH是Google的首席工程師,以及獲得過Jolt最暢銷奬的《高效Java編程語言指南(Effective Java Programming Language Guide)》(Addson-Wesley,2001)一書的作者。他之前是Sun Microsystems的傑齣工程師和Transarc的資深係統設計師。Josh領導瞭大量的Java平颱特性的設計與實現工作,包括JDK 5.0中的語言增強和獲奬的Java集閤框架。他擁有卡耐基.梅隆大學計算機科學的博士學位。 NEAL GAFTER是Google的軟件工程師和Java的傳道者。他之前是Sun Microsystems的資深員工工程師,在那裏他領導瞭Java編譯器的開發工作,並且通過5.0版實現瞭1.4版中的Java語言特性。Neal曾經是C++標準委員會的成員,他在Sun Microsystems、Microtec Research和Texas Instruments時領導瞭C和C++編譯器的開發工作。他擁有羅徹斯特大學計算機科學的博士學位。
"Every programming language has its quirks. This lively book reveals oddities of the Java programming language through entertaining and thought-provoking programming puzzles." --Guy Steele, Sun Fellow and coauthor of The Java(t) Language Specification "I laughed, I cried, I threw up (my hands in admiration)." --Tim Peierls, president, Prior Artisans LLC, and member of the JSR 166 Expert Group How well do you really know Java? Are you a code sleuth? Have you ever spent days chasing a bug caused by a trap or pitfall in Java or its libraries? Do you like brainteasers? Then this is the book for you! In the tradition of Effective Java(t), Bloch and Gafter dive deep into the subtleties of the Java programming language and its core libraries. Illustrated with visually stunning optical illusions, Java(t) 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 isn't 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 program's 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 you'll never again fall prey to the counterintuitive or obscure behaviors that can fool even the most experienced programmers.
在没有读这本书之前,觉得用Java编写程序很舒服,思路十分清晰。但是读完这本书之后,才发现Java世界没有想象的那么好,你随时都有可能掉某些进陷阱之中。这些陷阱有可能是自己的粗心大意造成(如谜题95的第一个小题),有可能是对数字边界问题考虑欠佳造成的,还有可能是对于J...
評分别怀疑这本书中提到的某些题目,你一定会回答错误,没关系,那很正常,正式这些错误,才会使你从另一个角度考虑问题
評分看完前三章,大量求值顺序和转型的坑,基本和C别无二致 下面两个关于char的坑是我觉得比较有可能栽进去的 能用String就别用char,char类型会默默地类型提升成int,拼接的时候也会出问题,杀人与无形,比如 new StringBuffer('a'); System.out.println('a' + 'b'); 其他比如 ...
評分看完前三章,大量求值顺序和转型的坑,基本和C别无二致 下面两个关于char的坑是我觉得比较有可能栽进去的 能用String就别用char,char类型会默默地类型提升成int,拼接的时候也会出问题,杀人与无形,比如 new StringBuffer('a'); System.out.println('a' + 'b'); 其他比如 ...
評分别怀疑这本书中提到的某些题目,你一定会回答错误,没关系,那很正常,正式这些错误,才会使你从另一个角度考虑问题
各種JAVA的坑。有些遵守編碼規範就能避免,但寫好的代碼再排查就很難瞭。
评分和大拿的其他書一樣,幾乎一直在告誡讀者:注意基礎,規範地寫代碼,少炫技。就感覺像讀一本武功秘籍,讀著讀著,書中就浮現齣八個大字:重劍無鋒,大巧不工。 扣一顆星是因為感覺為瞭湊夠每章10個例子,有一些章節有一些題感覺質量不高。
评分章節碎片化,每個都很小。很多章節五分鍾就讀完。適閤茶歇,乘車擠地鐵時拿瞭看看。
评分作者有點“欺負”人的感覺,拿他對java語言規範的理解來蹂躪我等對java語言不甚瞭解的人
评分Am I the only one that feels some examples are too "artificial" to be practical in this book?
本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度,google,bing,sogou 等
© 2025 qciss.net All Rights Reserved. 小哈圖書下載中心 版权所有