Book
The Art of Readable Code
Dustin Boswell, Trevor Foucher
Summary
「コードは他者が最短時間で理解できるように書かれるべき」という単純な原則を、命名・コメント・制御フロー・ 式の分割・関数設計の観点から具体例で示すコード可読性の入門古典。Clean Code の前段、リファクタリングの きっかけ、そしてコードレビュー文化の共通語彙を獲得するために、すべての開発者が最初に通るべき一冊。
Target Readers
- プログラミング基礎を習得し、可読性を意識し始めた若手開発者
- コードレビューや命名の判断基準をチームで揃えたいリードエンジニア
Tags
Colophon
- Publisher
- オライリー・ジャパン
- ISBN
- 978-4873115658
- Published
- Jun 2012
- List price
- ¥2,640incl. taxMay differ from the actual selling price on Amazon
Get this book
* The link above is an advertisement via Amazon Associates.Related Books
Prerequisites
- Recommended
独習JavaScript 新版
CodeMafia 外村将大
Reason: Right after learning the syntax is the prime moment to shift your focus from 'working code' to 'readable code.' The Art of Readable Code offers concrete techniques for naming, comments, and control flow, cultivating early the sense of readability that is hard to acquire on your own.
Sources
Next Books
- Recommended
Clean Code
Robert C. Martin
Reason: After grasping the basics of readability such as naming and function decomposition, you move on to binding them into principles of why. Clean Code connects individual techniques into a coherent system of craftsmanship and design principles.
- Recommended
The Pragmatic Programmer
David Thomas, Andrew Hunt
Reason: Once you have the concrete techniques of readability such as naming and formatting, you widen your view to the professional philosophy that runs through daily decisions—DRY, orthogonality, and a stance toward change. The Pragmatic Programmer binds individual techniques into an attitude of why.
- Related
Programming TypeScript
Boris Cherny
Reason: Once you've internalized the principles of readable code, you advance to supporting that readability with the mechanism of types. Programming TypeScript shows how type annotations act as 'documentation expressed in code,' letting you write intent-revealing code on the twin wheels of naming and types.
- Related
リファクタリング
Martin Fowler
Reason: Once you know what readable code looks like, you need techniques to move existing code toward that shape without breaking it. Refactoring offers a step-by-step way to improve structure in small moves without changing behavior, guided by code smells.
Sources