Clean Code
Updated 2026-07-30
Summary
Robert Cecil Martin (born 5 December 1952), colloquially called "Uncle Bob", is an American software engineer, instructor, and author. He is most recognized for promoting many software design principles and for being an author and signatory of the influential Agile Manifesto. Martin has authored man…
Definition
Code is primarily written for humans to read, and incidentally for machines to execute. Characteristics of clean code: clear naming, short functions, single responsibility, no duplication. Scaffold use: a manifestation of professionalism. In any collaboration, the readability of the output is more important than showing off skills. Whether writing documentation, code, or emails, the highest standard is that the next person to take over can understand it instantly.
Introduction
How to use
A manifestation of professionalism. In any collaboration, the readability of the output is more important than showing off skills. Whether writing documentation, code, or emails, the highest standard is that the next person to take over can understand it instantly.
Mechanism
Robert C. Martin proposed that code should be readable, have single responsibility, clear naming, and no duplication, and be as maintainable as prose. It prioritizes maintainability.
Practice
In progress 0/1Practice this model in one real situation:
Cases
- Refactor long functions into short ones. Use intention-revealing names instead of comments.
Common pitfalls
- Over-abstraction increases complexity. Sacrificing necessary performance for cleanliness.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Robert_C._Martinverified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS