Writing High-Quality Code: Java
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已掌握 Java 基础语法、能独立写业务代码的初中级开发者
- 希望减少线上 Bug、提升代码评审通过率的工程师
- 准备 Java 面试、需要系统梳理语言细节与陷阱的求职者
- 带新人或做代码规范落地的技术负责人、团队 Leader
Not a good fit for
- 完全没有 Java 基础、尚未写过类的初学者,读来会偏琐碎
- 只关心框架用法(如 Spring Boot 集成)而不关心语言细节的读者
- 期待覆盖 Java 8 之后新特性(Stream、Optional、新日期 API)的读者
Reading tips
- 不要从头背到尾:先把 151 条标题过一遍,标出与自己项目相关的条目,优先精读。
- 每条建议动手复现书中的反例代码,亲眼看到编译报错或运行异常,印象远胜过阅读。
- 关注 Java 版本差异,遇到字符串、集合、并发相关建议时对照当前 JDK 文档确认是否有更优写法。
- 把书放在工位或 IDE 旁边当速查手册,在 Code Review 前后按主题翻阅,效果更好。
About the publisher
In addition to science and technology and professional publishing, the books in our catalog from China Machine Press also reflect a sustained focus on psychology, computing, management, finance and economics, and social sciences. In psychology, the catalog includes works by C. G. Jung and introductions to analytical psychology, as well as applied topics such as stress and health, and addiction and healing. In computing, it features Structure and Interpretation of Computer Programs (JavaScript Edition). Management and finance titles include Administrative Behavior (4th Edition), The Price of Inequality (Collector's Edition), and This Time Is Different: Eight Centuries of Financial Folly (Commemorative Edition). In the philosophy and history of science, there is The Worldview: The Third Edition. Relevant authors include C. G. Jung, William McGuire, Sonu Shamdasani, and Gabor Maté. Public information is limited; the above summarizes the publisher's profile based solely on the books in our catalog.
Contents
- Preface
- Chapter 1 Common Methods and Guidelines in Java Development
- Chapter 2 Primitive Types
- Chapter 3 Classes, Objects, and Methods
- Chapter 4 Strings
- Chapter 5 Arrays and Collections
- Chapter 6 Enums and Annotations
- Chapter 7 Generics and Reflection
- Chapter 8 Exceptions and Logging
- Chapter 9 Multithreading and Concurrency
- Chapter 10 Performance and Efficiency
- Chapter 11 The Open-Source World
- Chapter 12 Thought as the Source
FAQ
这本书和《改善Java程序的151个建议》是同一本书吗?
书里的内容过时了吗,还值得读吗?
需要什么基础才能读懂?
适合当作面试复习资料吗?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.