《Effective Java, Third Edition》一書英文版已經出版,這本書的第二版想必很多人都讀過,號稱Java四大名著之一,不過第二版2009年出版,到現在已經將近8年的時間,但隨着Java 6,7,8,甚至9的發布,Java語言發生了深刻的變化。
讀書筆記
- 第1章 介紹 (Introduction)
- 第2章 創建和銷毀對象(Creating and Destroying Objects)
- 第1條 考慮用靜態工廠方式替代構造器(Consider static factory methods instead of constructors)
- 第3章 對於所有對象都通用的方法(Methods Common to All Objects)
- 第4章 類和接口(Classes and Interfaces)
- 第5章 泛型(Generics)
- 第6章 枚舉和注釋(Enums and Annotations)
- 第7章 Lambda和流(Lambdas and Streams)*
- 第8章 方法(Methods)
- 第9章 通用程序設計(General Programming)
- 第10章 異常(Exceptions)
- 第11章 並發(Concurrency)
- 第12章 序列化(Serialization)
- 其他(Other)
備注:帶*的表示比第二版多出的內容。
參考文獻
- Effective Java 中文版 第2版@楊春華 俞黎敏 譯 (美)Joshua Bloch 著
- Effective.Java.3rd.Edition(美)Joshua Bloch 著
- Effective Java Third Edition 系列博文
