-->
发表于2024-06-15
Clean Code pdf epub mobi txt 电子书 下载 2024
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.
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.
略
评分和同组同事在周会上读了一年多的书。觉得书中原则可简化成「为之后阅读/修改代码的自己或他人减轻认知负荷」。
评分Bob大叔的都很好。
评分:无
评分略
看过他的前一本《敏捷软件开发》,当时给我的第一感觉,大概就是封面上那辉煌的新星爆发图片。于是这次在看到作者名字便毫不犹豫拿下。借无聊评审会议之暇看了半本,从第一页一直看到argsMatcher示例为止 第一感觉是,唔,稍显浅显。当然,不能说书中介绍的东西无用,实际上书...
评分 评分说实话,我一直在琢磨<clean code>这本书的目标人群到底应该是谁。对于在校学生,甚至刚刚工作了一两年的fresh coder,这本书的价值并没有想象的高。原因比较简单:clean code这本书的大部分内容是建立在作者大量编程实践之后的回溯和反思,类似于经验提炼式的总结。如果读者没...
评分我对技术书的要求一向很高,就像我确实很少给一本技术书五星,可是对这本书,我在读到一半的时候,就已经迫不及待把他标志成五星书籍。 在和朋友聊到这本书的时候,朋友谈到,其实书里的道理非常浅显,每个人都知道,只是我们到真的去用的时候就忘记了,或者为了省事就不去注...
评分写代码有时候就像整理画建筑图纸,没有一个清晰得思路和架构,必然捣鼓出一个脏乱差的社区,更谈不上一栋一栋盖高楼了。 整洁的代码这本书读罢,觉得需要好好审视自己以往的代码和思考方式。 敲代码,说实话是个技术活也是个流水线活儿。关键在于花多大心思去整它。 读一读,应...
Clean Code pdf epub mobi txt 电子书 下载 2024