具体描述
作者简介
Joshua Bloch是Google公司的首席Java架构师。是Jolt大奖的获得者。他曾是Sun公司的杰出工程师,和Transarc公司的高级系统设计师。Bloch曾带领团队设计和实现过无数的Java平台特性,包括JDK 5.0语言增强版和获奖的Java Collections Framework。他的著作还包括:《Java Puzzlers》、《Java Concurrency in Practive》等。
目录信息
读后感
每种语言都有一个“Effective guide”,对于Java,那就是这本《Effective Java》。 这是一本实用至上的书,78条建议,满满的干货。每一条都说明了为什么最好这样。这些经验,都是对大量的程序项目进行反思时逐渐形成的。对于Java这种极为健全乃至有点过于丰满的语言,这样一本...
Creating and Destroying Objects 1, Consider providing static factory methods instead of constructors Pros: Named methods Flexible: not required to create a new object each time invoked. Flexible: can provide an object of any subtype. Cons The class without ...
Creating and Destroying Objects 1, Consider providing static factory methods instead of constructors Pros: Named methods Flexible: not required to create a new object each time invoked. Flexible: can provide an object of any subtype. Cons The class without ...
Creating and Destroying Objects 1, Consider providing static factory methods instead of constructors Pros: Named methods Flexible: not required to create a new object each time invoked. Flexible: can provide an object of any subtype. Cons The class without ...
搞得我想对译者进行人身攻击 第16条第47条连大标题都翻译错了。第16条 In public classes,use accessor methods,not public fields。明显是倡议使用访问方法,不要直接暴露成员。结果标题翻译成了要在公有类而非公有域中使用访问方法,匪夷所思。我觉得就算让初中生来翻译结合...