Writing High-Quality Java Code
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已掌握 Java 基本语法、开始独立负责模块的初中级开发者
- 希望系统梳理 Java 语言细节与常见陷阱的工程师
- 需要为团队制定编码规范、做代码评审的技术负责人
- 准备 Java 相关技术面试、想补齐语言细节的求职者
Not a good fit for
- 完全没有编程基础、尚未写过 Java 程序的零基础读者
- 主要想学习 Spring Boot、微服务等框架与工程架构的读者
- 只想了解 Java 8 之后新特性(Lambda、Stream、模块化)的读者
Reading tips
- 先通读第1至3章,这部分覆盖日常编码最高频的语法陷阱,收益最直接。
- 把其余章节当工具书,遇到集合、并发、异常相关问题时按目录检索对应建议。
- 每读完一条建议,回到自己的项目里搜索类似写法,改一处比读十遍更记得住。
- 阅读时对照当前使用的 JDK 版本实践,老版本 API 的结论需自行验证后再采用。
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 Principles in Java Development (Recommendations 1–20)
- Chapter 2 Primitive Types (Recommendations 21–30)
- Chapter 3 Classes, Objects, and Methods (Recommendations 31–51)
- Chapter 4 Strings (Recommendations 52–59)
- Chapter 5 Arrays and Collections (Recommendations 60–83)
- Chapter 6 Enums and Annotations (Recommendations 84–92)
- Chapter 7 Generics and Reflection (Recommendations 93–106)
- Chapter 8 Exceptions (Recommendations 107–117)
- Chapter 9 Multithreading and Concurrency (Recommendations 118–131)
- Chapter 10 Performance and Optimization (Recommendations 132–139)
- Chapter 11 Open-Source Tools and Frameworks (Recommendations 140–146)
- Chapter 12 Coding Style and Programming Thought (Recommendations 147–151)
FAQ
这本书和《改善Java程序的151个建议》是同一本吗?
书里的建议还适用于现在的 JDK 吗?
零基础可以直接读这本书吗?
需要按顺序从头读到尾吗?
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.
About the author
Cheng Lin is an author about whom very limited public information is available in the Chinese book database; only one work can be identified so far, namely the English Synchronized Workbook (Selective Compulsory Book 4). Judging from the title and its common classification, the book is a test-oriented supplementary teaching aid intended for high school students using Selective Compulsory Book 4, offering exercises that follow classroom instruction and help students consolidate vocabulary, grammar, and reading skills. Because public information is limited, Cheng Lin's nationality, education, professional background, and writing experience cannot be confirmed, nor is it possible to determine whether the author has long been engaged in English teaching or the compilation of supplementary materials. As far as the existing work shows, the approach is practical and synchronized, aligning with textbook progress, with exercise types designed for daily practice and exam preparation. Such supplementary books are usually produced by editors familiar with textbooks and examination requirements, and Cheng Lin's work reflects this characteristic, serving as auxiliary material for high school English study and for teachers and students in after-class practice and review.