Table of Contents
Preface
Part 1 – IntroducingClean Code
1
What Is Clean Code and Why Should You Care?
What this book will cover
Understanding what clean code is
The importance of clean code in teams
The importance of clean code in personal projects
Summary
2
Who Gets to Decide What “Good Practices” Are?
Who decides these things anyway?
Best practices – where do they really come from?
Design pattern principles
Being context-aware
Being consistent – get results quicker
About source code analysis tools
About testing and its multiple forms
Summary
3
Code, Don’t Do Stunts
Understanding code
A bit of history
The purpose of code
Be understood, not clever
A note on maintainability
Using binary operators and octal, hexadecimal, and binary notations ...
Get Clean Code in PHP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.