Scan barcode
A review by wcang
Good Code, Bad Code by Tom Long
4.0
An excellent book on software engineering. This book offers pragmatic ideas to turn bad code into good code. Chapter 1 covers the pillars to improve code quality:
- Make code readable
- Avoid surprises
- Make code hard to misuse
- Make code modular
- Make code reusable and generalizable
- Make code testable and test it properly
The rest of the book talks about those pillars using examples. The author usually starts off with a problem and showing how a piece of code is problematic and then provide a solution to avoid the pitfall. This book is very approachable and not dogmatic at all.
- Make code readable
- Avoid surprises
- Make code hard to misuse
- Make code modular
- Make code reusable and generalizable
- Make code testable and test it properly
The rest of the book talks about those pillars using examples. The author usually starts off with a problem and showing how a piece of code is problematic and then provide a solution to avoid the pitfall. This book is very approachable and not dogmatic at all.