Chapter 1:Clean Code(新增评注47条)
There Will Be Code
Bad Code
The Total Cost of Owning a Mess
The Grand Redesign in the Sky
Attitude
The Primal Conundrum
The Art of Clean Code?
What Is Clean Code?
Schools of Thought
We Are Authors
The Boy Scout Rule
Prequel and Principles
Chapter 2:MeaningfuINames(新增评注1 9条)
Introduction
Use Intention-Revealing Names
Avoid Disinformation
Make Meaningful Distinctions
Use Pronounceable Names
Use Searchable Names
Interfaces and Implementations
Avoid Mental Mapping.
Method Names
Don't Be Cute
Pick One.Word per Concept
Don't Pun
Use Solution Domain Names
Use Problem Domain Names
Add Meaningful Context
Don't Add Gratuitous Context
Chapter 3:Functions(新增评注25条)
Small!
Blocks and Indenting
Do One Thing
Sections within Functions
One Level of Abstraction per Function
Reading Code from Top to Bottom:The Stepdown Rule
Switch Statements
Use Descriptive Names
……
Chapter 4:Commebts(新增主注18条)
Chapter 5:Formatting(亲增主注13条)
Chapter 6:Objects and data Structures(新增评注13条)
Chapter 7:Error Handling(新增评注7条)
Chapter 8:Boundaries(新增评注6条)
Chapter 9:Unit Tests(新增评注13条)
Chapter 10:Class(新增评注12条)
Chapter 11:Systems(新增评注10条)
Chapter 12:Emergnce(新增评注5条)
Chapter 13:Concurrency(新增评注15条)
Chapter 14:Successive Refinement(新增评注18条)
Chapter 15:JUnit Internals
Chapter 16:Refactoring Serialdate
Chapter 17:Smells and Heuristics
^ 收 起