The Clean Coder

Robert C. Martin

出版社

Prentice Hall

出版时间

2011-05-26

ISBN

9780137081073

评分

★★★★★
书籍介绍
The Much-Anticipated Follow-Up to “Uncle Bob’s” Highly Praised Clean Code Programmers who endure and succeed amidst swirling uncertainty and nonstop pressure share a common attribute: They care deeply about the practice of creating software. They treat it as a craft. They are professionals. In The Clean Coder: A Code of Conduct for Professional Programmers, legendary software expert Robert C. Martin introduces the disciplines, techniques, tools, and practices of true software craftsmanship. This book is packed with practical advice—about everything from estimating and coding to refactoring and testing. It covers much more than technique: It is about attitude. Martin shows how to approach software development with honor, self-respect, and pride; work well and work clean; communicate and estimate faithfully; face difficult decisions with clarity and honesty; and understand that deep knowledge comes with a responsibility to act. Readers will learn What it means to behave as a true software craftsman How to deal with conflict, tight schedules, and unreasonable managers How to get into the flow of coding, and get past writer’s block How to handle unrelenting pressure and avoid burnout How to combine enduring attitudes with new development paradigms How to manage your time, and avoid blind alleys, marshes, bogs, and swamps How to foster environments where programmers and teams can thrive When to say “No”—and how to say it When to say “Yes”—and what yes really means Great software is something to marvel at: powerful, elegant, functional, a pleasure to work with as both a developer and as a user. Great software isn’t written by machines. It is written by professionals with an unshakable commitment to craftsmanship. The Clean Coder will help you become one of them—and earn the pride and fulfillment that they alone possess.
AI导读
核心看点
  • 强调程序员应具备的职业素养与工匠精神
  • 涵盖估算、编码、重构及测试等实战技巧
  • 探讨如何以荣誉感和自豪感对待软件开发
适合谁读
  • 渴望提升职业素养的初级至中级程序员
  • 希望从纯编码者转向专业开发者的从业者
  • 对软件工程伦理与团队协作感兴趣的读者
读前提醒
  • 部分观点可能较为理想化,需结合国情辩证看待
  • 书中重复内容较多,建议跳读以提取核心精华
  • 重点阅读关于承诺、估算及应对压力的章节
读者共识
  • 内容务实深刻,是提升代码意识的好书
  • 部分读者认为行文啰嗦,有用信息密度不均
  • 核心在于教导如何坚持原则,成为专业人士

本导读基于书籍简介、目录、原文摘录、短评和书评生成,不等同于全文精读。

精彩摘录
  • "下面列出了每个专业软件开发人员必须精通的事项。 - 设计模式。必须能够描述GoF书中全部24种模式,同时还要有POSA书中多数模式的实战经验。 - 设计原则。必须了解SOLID原则,而且要深刻理解组件设计原则。 - 方法。必须理解XP、Scrum、精益、看板、瀑布、结构化分析及结构化设计等等。 - 实践。必须掌握测试驱动开发、面向对象设计、结构化编程、持续集成和结对编程。 - 工件。必须了解如何使用UML图、DFD图、结构图、Petri网络图、状态迁移图表、流程图和决策表。"
  • "So you make the meme observable. You act as a role model. You become a craftsman first, and let your craftsmanship show. Then just let the meme do the rest of the work."
  • "我们并非是因为喜欢和其他人在一起工作才选择做程序员的。我们都认为人际关系难以应付而且毫无规律。编程用的机器则整洁,行为也可预见。如果可以一个人待在房间里数个小时沉浸在一些真正有趣的问题上,那将会是最开心的时光。"
  • "Professionals speak truth to power."
  • "Managers are people with a job to do, and most managers know how to do that job pretty well. Part of that job is to pursue and defend their objectives as aggressively as they can."
  • "The best possible outcome is the goal that you and your manager share. The trick is to find that goal, and that usually takes negotiation."
  • "She aggressively defended her position, despite the wheedling and cajoling from Mike. Mike was playing on a team of one. Mike is for Mike."
  • "The promise to try is an admission that you’ve been holding back, that you have a reservoir of extra effort that you can apply"
作者简介
Robert C. Martin (“Uncle Bob”) has been a programmer since 1970. He is founder and president of Object Mentor, Inc., an international firm of highly experienced software developers and managers who specialize in helping companies get their projects done. Object Mentor offers process improvement consulting, object-oriented software design consulting, training, and skill development services to major corporations worldwide. Martin has published dozens of articles in various trade journals and is a regular speaker at international conferences and trade shows. He has authored and edited many books, including: Designing Object Oriented C++ Applications Using the Booch Method Patterns Languages of Program Design 3 More C++ Gems Extreme Programming in Practice Agile Software Development: Principles, Patterns, and Practices UML for Java Programmers Clean Code
用户评论
太啰嗦了!每一个有用的句子都有两倍的无用句子,很难想象一个吹捧clean code的人会写这么多废话。不过里面有用的,常识性的东西,大概是值得反复说的。比如程序员做一个professional意味着什么,在无法撼动的增墒过程中,怎么用谨慎而微小的努力做一点clean的事情。
都是很实在的经验之谈
有点像回忆录+经验总结,细致、务实。特别喜欢非技术那部分,非常受教。
整本书讲的是怎样成为专业的程序员,200多页,所以有些地方讲的不够详细。Uncle Bob着重强调了测试的重要性,用了不少事例加以阐述。这是全书最精彩的部分。总的来说,能从书中读出Uncle Bob对年轻一代程序员的关爱之情。对我这样的菜鸟,此书还是有所帮助。
told you how be a professial programmer
第四第五章不错 本书最大主题:人类已经无法适合这么复杂的工具 大脑无法通过心流等办法变成机器 tdd就基于上面的认识论产生的方法论 tdd是什么呢 人一旦进入专注陷阱(比如心流)能够看到地图\灵感是有限的 所以(大师)30秒就要退出专注 tdd本质上就是把专注维持到30秒 大脑有限论→复杂无限论→30秒专注论→30秒测试论→测试驱动论
五年了我都没有开始看这本书,直到我开始听audiobook,先听后看终于结果了它。之前做过一个测试,我的阅读记忆排名倒数,但多年的听音乐没有给我带来音乐才能的提高,倒是听力记忆很好。听说读写看都是学习方式,对于我来说听真是老天保佑 - 无论什么都可以听、公开课、YouTube视频,循环往复直到我能够模仿,祈祷更多的科学书能够有声化。
一些职业道德或者沟通时该注意的雷区我觉得是本该如此不言自明,当然可能对其他人并不是这样。最不喜欢的就是 Uncle Bob 絮絮叨叨用磁带编程的旧时光,无聊而冗长。
还行 工作多年的人都总会有一些书里的体验
突然觉得产品经理比程序员更应该读读这本书
收藏