Effective Java(第2版 英文版)

Effective Java(第2版 英文版)
分享
扫描下方二维码分享到微信
打开微信,点击右上角”+“,
使用”扫一扫“即可将网页分享到朋友圈。
作者: [美] (约书亚·布洛赫)
2016-03
版次: 2
ISBN: 9787121273148
定价: 65.00
装帧: 平装
开本: 16开
纸张: 胶版纸
页数: 368页
字数: 432千字
正文语种: 英语
原版书名: Effective Java,2E
78人买过
  •   《Effective Java(第2版 英文版)》介绍了在Java编程中的78条非常具有实用价值的经验规则,这些经验规则涵盖了大部分开发人员每天所面临的问题的解决方案。通过对Java平台设计专家所使用的技术的全面描述,揭示了应该做什么,不应该做什么,以及怎样才能编写出清晰、健壮和高效的代码。《Effective Java(第2版)英文版》中的每条规则都以简短、独立的小文章形式出现,并通过示例代码进一步进行说明。本书内容全面,结构清晰,讲解详细,可作为技术人员的参考用书。

    作者:(美)Joshua Bloch(约书亚·布洛赫) 译者:无 无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无… 推荐序
    前言
    1 Introduction
    2 Creating and Destroying Objects
    Item 1: Consider static factory methods instead of constructors
    Item 2: Consider a builder when faced with many constructor parameters
    Item 3: Enforce the singleton property with a private constructor or an enum type
    Item 4: Enforce noninstantiability with a private constructor
    Item 5: Avoid creating unnecessary objects
    Item 6: Eliminate obsolete object references
    Item 7: Avoid finalizers
    3 Methods Common to All Objects
    Item 8: Obey the general contract when overriding equals
    Item 9: Always override hashCode when you override equals
    Item 10: Always override toString
    Item 11: Override clone judiciously
    Item 12: Consider implementing Comparable
    4 Classes and Interfaces
    Item 13: Minimize the accessibility of classes and members
    Item 14: In public classes, use accessor methods, not public fields
    Item 15: Minimize mutability
    Item 16: Favor composition over inheritance
    Item 17: Design and document for inheritance or else prohibit it
    Item 18: Prefer interfaces to abstract classes
    Item 19: Use interfaces only to define types
    Item 20: Prefer class hierarchies to tagged classes
    Item 21: Use function objects to represent strategies
    Item 22: Favor static member classes over nonstatic
    5 Generics
    Item 23: Don’t use raw types in new code
    Item 24: Eliminate unchecked warnings
    Item 25: Prefer lists to arrays
    Item 26: Favor generic types
    Item 27: Favor generic methods
    Item 28: Use bounded wildcards to increase API flexibility
    Item 29: Consider typesafe heterogeneous containers
    6 Enums and Annotations
    Item 30: Use enums instead of int constants
    Item 31: Use instance fields instead of ordinals
    Item 32: Use EnumSet instead of bit fields
    Item 33: Use EnumMap instead of ordinal indexing
    Item 34: Emulate extensible enums with interfaces
    Item 35: Prefer annotations to naming patterns
    Item 36: Consistently use the Override annotation
    Item 37: Use marker interfaces to define types
    7 Methods
    Item 38: Check parameters for validity
    Item 39: Make defensive copies when needed
    Item 40: Design method signatures carefully
    Item 41: Use overloading judiciously
    Item 42: Use varargs judiciously
    Item 43: Return empty arrays or collections, not nulls
    Item 44: Write doc comments for all exposed API elements
    8 General Programming
    Item 45: Minimize the scope of local variables
    Item 46: Prefer for-each loops to traditional for loops
    Item 47: Know and use the libraries
    Item 48: Avoid float and double if exact answers are required
    Item 49: Prefer primitive types to boxed primitives
    Item 50: Avoid strings where other types are more appropriate
    Item 51: Beware the performance of string concatenation
    Item 52: Refer to objects by their interfaces
    Item 53: Prefer interfaces to reflection
    Item 54: Use native methods judiciously
    Item 55: Optimize judiciously
    Item 56: Adhere to generally accepted naming conventions
    9 Exceptions
    Item 57: Use exceptions only for exceptional conditions
    Item 58: Use checked exceptions for recoverable conditions and runtime exceptions for programming errors
    Item 59: Avoid unnecessary use of checked exceptions
    Item 60: Favor the use of standard exceptions
    Item 61: Throw exceptions appropriate to the abstraction
    Item 62: Document all exceptions thrown by each method
    Item 63: Include failure-capture information in detail messages
    Item 64: Strive for failure atomicity
    Item 65: Don’t ignore exceptions
    10 Concurrency
    Item 66: Synchronize access to shared mutable data
    Item 67: Avoid excessive synchronization
    Item 68: Prefer executors and tasks to threads
    Item 69: Prefer concurrency utilities to wait and notify
    Item 70: Document thread safety
    Item 71: Use lazy initialization judiciously
    Item 72: Don’t depend on the thread scheduler
    Item 73: Avoid thread groups
    11 Serialization
    Item 74: Implement Serializable judiciously
    Item 75: Consider using a custom serialized form
    Item 76: Write readObject methods defensively
    Item 77: For instance control, prefer enum types to readResolve
    Item 78: Consider serialization proxies instead of serialized instances
    Appendix: Items Corresponding to First Edition
    References
    Index
  • 内容简介:
      《Effective Java(第2版 英文版)》介绍了在Java编程中的78条非常具有实用价值的经验规则,这些经验规则涵盖了大部分开发人员每天所面临的问题的解决方案。通过对Java平台设计专家所使用的技术的全面描述,揭示了应该做什么,不应该做什么,以及怎样才能编写出清晰、健壮和高效的代码。《Effective Java(第2版)英文版》中的每条规则都以简短、独立的小文章形式出现,并通过示例代码进一步进行说明。本书内容全面,结构清晰,讲解详细,可作为技术人员的参考用书。

  • 作者简介:
    作者:(美)Joshua Bloch(约书亚·布洛赫) 译者:无 无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无…
  • 目录:
    推荐序
    前言
    1 Introduction
    2 Creating and Destroying Objects
    Item 1: Consider static factory methods instead of constructors
    Item 2: Consider a builder when faced with many constructor parameters
    Item 3: Enforce the singleton property with a private constructor or an enum type
    Item 4: Enforce noninstantiability with a private constructor
    Item 5: Avoid creating unnecessary objects
    Item 6: Eliminate obsolete object references
    Item 7: Avoid finalizers
    3 Methods Common to All Objects
    Item 8: Obey the general contract when overriding equals
    Item 9: Always override hashCode when you override equals
    Item 10: Always override toString
    Item 11: Override clone judiciously
    Item 12: Consider implementing Comparable
    4 Classes and Interfaces
    Item 13: Minimize the accessibility of classes and members
    Item 14: In public classes, use accessor methods, not public fields
    Item 15: Minimize mutability
    Item 16: Favor composition over inheritance
    Item 17: Design and document for inheritance or else prohibit it
    Item 18: Prefer interfaces to abstract classes
    Item 19: Use interfaces only to define types
    Item 20: Prefer class hierarchies to tagged classes
    Item 21: Use function objects to represent strategies
    Item 22: Favor static member classes over nonstatic
    5 Generics
    Item 23: Don’t use raw types in new code
    Item 24: Eliminate unchecked warnings
    Item 25: Prefer lists to arrays
    Item 26: Favor generic types
    Item 27: Favor generic methods
    Item 28: Use bounded wildcards to increase API flexibility
    Item 29: Consider typesafe heterogeneous containers
    6 Enums and Annotations
    Item 30: Use enums instead of int constants
    Item 31: Use instance fields instead of ordinals
    Item 32: Use EnumSet instead of bit fields
    Item 33: Use EnumMap instead of ordinal indexing
    Item 34: Emulate extensible enums with interfaces
    Item 35: Prefer annotations to naming patterns
    Item 36: Consistently use the Override annotation
    Item 37: Use marker interfaces to define types
    7 Methods
    Item 38: Check parameters for validity
    Item 39: Make defensive copies when needed
    Item 40: Design method signatures carefully
    Item 41: Use overloading judiciously
    Item 42: Use varargs judiciously
    Item 43: Return empty arrays or collections, not nulls
    Item 44: Write doc comments for all exposed API elements
    8 General Programming
    Item 45: Minimize the scope of local variables
    Item 46: Prefer for-each loops to traditional for loops
    Item 47: Know and use the libraries
    Item 48: Avoid float and double if exact answers are required
    Item 49: Prefer primitive types to boxed primitives
    Item 50: Avoid strings where other types are more appropriate
    Item 51: Beware the performance of string concatenation
    Item 52: Refer to objects by their interfaces
    Item 53: Prefer interfaces to reflection
    Item 54: Use native methods judiciously
    Item 55: Optimize judiciously
    Item 56: Adhere to generally accepted naming conventions
    9 Exceptions
    Item 57: Use exceptions only for exceptional conditions
    Item 58: Use checked exceptions for recoverable conditions and runtime exceptions for programming errors
    Item 59: Avoid unnecessary use of checked exceptions
    Item 60: Favor the use of standard exceptions
    Item 61: Throw exceptions appropriate to the abstraction
    Item 62: Document all exceptions thrown by each method
    Item 63: Include failure-capture information in detail messages
    Item 64: Strive for failure atomicity
    Item 65: Don’t ignore exceptions
    10 Concurrency
    Item 66: Synchronize access to shared mutable data
    Item 67: Avoid excessive synchronization
    Item 68: Prefer executors and tasks to threads
    Item 69: Prefer concurrency utilities to wait and notify
    Item 70: Document thread safety
    Item 71: Use lazy initialization judiciously
    Item 72: Don’t depend on the thread scheduler
    Item 73: Avoid thread groups
    11 Serialization
    Item 74: Implement Serializable judiciously
    Item 75: Consider using a custom serialized form
    Item 76: Write readObject methods defensively
    Item 77: For instance control, prefer enum types to readResolve
    Item 78: Consider serialization proxies instead of serialized instances
    Appendix: Items Corresponding to First Edition
    References
    Index
查看详情
系列丛书 / 更多
Effective Java(第2版 英文版)
代码大全(第2版 英文版)
[美]Steve McConnell(史蒂夫·迈克康奈尔) 著
Effective Java(第2版 英文版)
Effective Javascript:编写高质量JavaScript代码的68个有效方法(英文版)
[美]David Herman(大卫·赫尔曼) 著
Effective Java(第2版 英文版)
Java虚拟机规范(Java SE 8版 英文版)
[美]Tim(蒂姆·林霍尔姆)、[美]Frank(费兰克·耶林)、[美]Gilad(吉拉德·布拉查)、[美]Alex Buckley(亚力克斯·巴克利) 著
Effective Java(第2版 英文版)
Effective Objective-C 2.0:编写高质量iOS与OS X代码的52个有效方法 英文版
[美]Matt Galloway(马特·加洛韦) 著
Effective Java(第2版 英文版)
C11编程导论(英文版)
[美]Paul(保罗·戴特尔)、Harvey Deitel(哈维·戴特尔) 著
Effective Java(第2版 英文版)
C语言程序设计(第4版 英文版)
[美]Stephen G.Kochan(史蒂芬·G·寇肯) 著
Effective Java(第2版 英文版)
实现领域驱动设计英文版
[美]Vaughn Vernon(沃恩·弗农) 著
Effective Java(第2版 英文版)
Clean Architecture:软件架构与设计匠艺(英文版)
[美]Robert、C.Martin 著
Effective Java(第2版 英文版)
Effective Ruby:编写高质量Ruby代码的48个有效方法(英文版)
[美]Peter J.Jones(彼得·J.琼斯) 著
Effective Java(第2版 英文版)
Objective-C程序设计(第6版 英文版)
[美]Stephen G.Kochan(史蒂芬.G.寇肯) 著
Effective Java(第2版 英文版)
Java SE8 程序设计(第3版 英文版)
[美]Paul(保罗·戴特尔)、Harvey Deitel(哈维·戴特尔) 著
Effective Java(第2版 英文版)
Effective SQL:编写高质量SQL语句的61条有效方法(英文版)
约翰·L·威克斯(John L.Viescas);道格拉斯·J·斯蒂尔(Douglas J.Steele);本·G·克洛希尔(Ben G.Clothier)
相关图书 / 更多
Effective Java(第2版 英文版)
EffectiveTeamwork:PracticalLessonsfromOrganizationalResearch
Michael A. West 著
Effective Java(第2版 英文版)
Effective数据科学基础设施
[芬兰]维莱·图洛斯(Ville Tuulos)著 郭涛 译
Effective Java(第2版 英文版)
Effective TypeScript:精进TypeScript代码的62个实践方法
[美]丹·范德卡姆(Dan Vanderkam);王瑞鹏;董强
Effective Java(第2版 英文版)
EffectiveLeadershipinAdventureProgramming
Simon Priest 著
Effective Java(第2版 英文版)
Effective软件测试
[荷兰]毛里西奥·阿尼什(Maurício Aniche)著 朱少民 李洁 张元 译
Effective Java(第2版 英文版)
Effective Python:编写高质量Python代码的90个有效方法(原书第2版)
[美]布雷特·斯拉特金(Brett Slatkin)
Effective Java(第2版 英文版)
Effective C中文版
[美]罗伯特·C. 西科德(Robert C. Seacord)
Effective Java(第2版 英文版)
Effective Python:改善Python程序的90个建议 (第2版)(英文版)
[美]Brett Slatkin(布雷特·斯莱特金)
Effective Java(第2版 英文版)
EffectiveSupervision:SupportingtheArtandScienceofTeaching
Robert J. Marzano 著
Effective Java(第2版 英文版)
EffectiveHelpingInterviewingandCounselingT
Barbara F. Okun、Ricki E. Kantrowitz 著
Effective Java(第2版 英文版)
Efficient Linux命令行
[美]丹尼尔·J. 巴雷特(Daniel J. Barrett)马晶慧
Effective Java(第2版 英文版)
Effective Cybersecurity 中文版
[美]威廉·斯托林斯(William Stallings)
您可能感兴趣 / 更多
Effective Java(第2版 英文版)
无辜者的谎言(相信我!看到结局你一定会头皮发麻;全美读者推荐的悬疑神作,GOODREADS高分作品)
[美]A.R.托雷 著;梁颂宇 译;星文文化 出品
Effective Java(第2版 英文版)
孩子,把你的手给我1:怎么说孩子才爱听,怎么教孩子才肯学?帮助每一位3-12岁孩子的父母结束与孩子的所有冲突!
[美]海姆·G.吉诺特
Effective Java(第2版 英文版)
哲学、历史与僭政——重审施特劳斯与科耶夫之争
[美]弗罗斯特(Bryan-Paul Frost) 编;[美]伯恩斯(Timothy W. Burns)
Effective Java(第2版 英文版)
怎样做成大事
[美]丹·加德纳(Dan Gardner) 著;贾拥民 译;湛庐文化 出品;[丹麦]傅以斌(Bent Flyvbjerg)
Effective Java(第2版 英文版)
力量训练的科学基础与实践应用(第三版)
[美]弗拉基米尔· M.扎齐奥尔斯基;[美]威廉·J.克雷默;[美]安德鲁· C.弗赖伊
Effective Java(第2版 英文版)
1200年希腊罗马神话
[美]伊迪丝·汉密尔顿
Effective Java(第2版 英文版)
爱情心理学(新编本)
[美]罗伯特·J. 斯腾伯格 (美)凯琳·斯腾伯格 倪爱萍 译
Effective Java(第2版 英文版)
黄金圈法则
[美]西蒙·斯涅克 著;磨铁文化 出品
Effective Java(第2版 英文版)
最后一章
[美]厄尼·派尔
Effective Java(第2版 英文版)
汤姆·索亚历险记 彩图注音版 一二三四年级5-6-7-8-9岁小学生课外阅读经典 儿童文学无障碍有声伴读世界名著童话故事
[美]马克 吐温
Effective Java(第2版 英文版)
富兰克林自传 名家全译本 改变无数人命运的励志传奇 埃隆马斯克反复推荐 赠富兰克林签名照及精美插图
[美]本杰明·富兰克林 著;李自修 译
Effective Java(第2版 英文版)
国际大奖图画书系列 共11册(小老鼠的恐惧的大书,大灰狼,红豆与菲比,别烦我,下雪了 ,穿靴子的猫 ,先有蛋,绿 ,特别快递,如果你想看鲸鱼 ,一个部落的孩子 ) 麦克米伦世纪
[美]莱恩·史密斯 (英)埃米莉·格雷维特 (美)劳拉·瓦卡罗·等/文 (英)埃米莉·格雷维特 等/图 彭懿 杨玲玲 阿甲 孙慧阳 白薇 译