Robert C. “Uncle Bob” Martin has been a software professional since 1970 and an international software consultant since 1990. He is founder and president of Object Mentor, Inc., a team of experienced consultants who mentor their clients worldwide in the fields of C++, Java, C#, Ruby, OO, Design Patterns, UML, Agile Methodologies, and eXtreme programming.
Even bad code can function. But if code isn’t clean, it can bring a development organization to its knees. Every year, countless hours and significant resources are lost because of poorly written code. But it doesn’t have to be that way.
Noted software expert Robert C. Martin presents a revolutionary paradigm with Clean Code: A Handbook of Agile Software Craftsmanship. Martin has teamed up with his colleagues from Object Mentor to distill their best agile practice of cleaning code “on the fly” into a book that will instill within you the values of a software craftsman and make you a better programmer—but only if you work at it.
What kind of work will you be doing? You’ll be reading code—lots of code. And you will be challenged to think about what’s right about that code, and what’s wrong with it. More importantly, you will be challenged to reassess your professional values and your commitment to your craft.
Clean Code is divided into three parts. The first describes the principles, patterns, and practices of writing clean code. The second part consists of several case studies of increasing complexity. Each case study is an exercise in cleaning up code—of transforming a code base that has some problems into one that is sound and efficient. The third part is the payoff: a single chapter containing a list of heuristics and “smells” gathered while creating the case studies. The result is a knowledge base that describes the way we think when we write, read, and clean code.
Readers will come away from this book understanding
How to tell the difference between good and bad code
How to write good code and how to transform bad code into good code
How to create good names, good functions, good objects, and good classes
How to format code for maximum readability
How to implement complete error handling without obscuring code logic
How to unit test and practice test-driven development
This book is a must for any developer, software engineer, project manager, team lead, or systems analyst with an interest in producing better code.
發表於2024-05-09
Clean Code 2024 pdf epub mobi 電子書 下載
說實話,我一直在琢磨<clean code>這本書的目標人群到底應該是誰。對於在校學生,甚至剛剛工作瞭一兩年的fresh coder,這本書的價值並沒有想象的高。原因比較簡單:clean code這本書的大部分內容是建立在作者大量編程實踐之後的迴溯和反思,類似於經驗提煉式的總結。如果讀者沒...
評分看過他的前一本《敏捷軟件開發》,當時給我的第一感覺,大概就是封麵上那輝煌的新星爆發圖片。於是這次在看到作者名字便毫不猶豫拿下。藉無聊評審會議之暇看瞭半本,從第一頁一直看到argsMatcher示例為止 第一感覺是,唔,稍顯淺顯。當然,不能說書中介紹的東西無用,實際上書...
評分1.這本書的價值超過《代碼大全》。它更抽象於一種開發哲學,所以,看不懂,說明你還停留在必須從看得見摸得著的對象學習的程度,對,你需要sample code。 2.隻乾瞭一兩年程序,或者乾瞭n年程序卻一直停留在初級水平的開發人員意識不到這本書的價值。 3.和代碼大全一樣,這本...
評分公認的翻譯比較生硬外,如此書副標題所寫:a handbook of agile software craftsmanship. 雖說定義為敏捷軟件技能手冊,但不失為編碼從業人員最基礎的職業代碼要求規範。
評分現在看到那些不好的代碼就感覺不舒服,想給改改吧,但又不知道到從和處開刀,挺糾結的,可能是現在火候還不到吧。 現在寫代碼開始考慮易讀性瞭,以前的想法就是寫過的代碼從來不會看第二遍,其實這也可能,但是一旦養成個瞭這個不好的習慣,有一天你想寫好讓彆人能看懂的代碼...
圖書標籤: 編程 programming 軟件開發 程序設計 計算機 軟件工程 敏捷開發 agile
程序員入門書籍
評分盡管這本書跟彆的幾本關於軟件開發的書裏有點兒重復,作者寫的還算簡明清楚,不管對agile開發是不是全盤接受,都可以拿來反思一下自己的工作。
評分書評 筆記
評分沒看完。關於什麼是乾淨的代碼,就像是評價什麼是好的繪畫一樣,仁者見仁智者見智。盡管有些公認的標準,但是作者的標準個人並不喜歡。不過在一個大公司,規定統一的風格很重要,無論喜不喜歡,都應遵守。
評分書評 筆記
Clean Code 2024 pdf epub mobi 電子書 下載