《代码整洁之道》封面

代码整洁之道

Clean Code

Robert C. Martin · 初版 2008 年

297人推荐
739位读者提及
951次提及

为什么值得读

  • 能为软件开发工作带来立竿见影的实际价值
  • 对注释的本质与用法提供了深刻独到的见解
  • 能有效帮助开发者少走多年维护弯路

Hacker News 上怎么说

  • 我相当喜欢 Robert Martin 的《代码整洁之道》(Clean Code)中描述的概念,但在现实生活中,真正高质量的代码库很难遇到。当我问自己这个问题时,我脑海中唯一浮现的就是 Laravel:https://github.com/laravel/laravel……

    I am rather fond of the concepts described in "Clean Code" by Robert Martin but it seems that in real life, a really high-quality codebase is hard to come by. While I am asking myself this question, the only one that popups to my mind would be Laravel: https://github.com/laravel/laravel…

  • Robert C. Martin 在《代码整洁之道》(Clean Code)里关于注释有一段写得特别好:- 注释的恰当用法是用来弥补我们在用代码表达意图时的失败。注释总是一种失败。我们之所以需要它们,是因为我们往往无法做到……

    Robert C. Martin's Clean Code book has a great section on comments: - The proper use of comments is to compensate for our failure to express ourself in code. Comments are always failures. We must have them because we cannot always…

  • ……只是缺少指导,但想要提升自己。去读读这几本书吧:Michael Feathers 的《修改代码的艺术》(Working Effectively with Legacy Code)、Martin Fowler 的《重构:改善既有代码的设计》(Refactoring)、以及“鲍勃大叔”(Uncle Bob)的《代码整洁之道》(Clean Code)。这些都是无价的资源。虽然还有很多其他的书,但这三本尤其契合你的现状。

    …just don't know any better, but want to improve. Read these books: _Working Effectively with Legacy Code_ by Michael Feathers _Refactoring: Improving the Design of Existing Code_ by Martin Fowler _Clean Code_ by Uncle Bob These are invaluable resources. There are many others, but these three are particularly germane to your situation.

  • 《代码整洁之道》(Clean Code)是我职业生涯早期读的第一批书之一,我很庆幸自己读了它。从那以后我渐渐觉得,“Uncle Bob”有时(就像这次)会把原本不错的理念推得有点太极端了。但我依然……

    Clean Code was one of the first books I read professionally, and I'm glad I did. Since then, I've formed the opinion that "Uncle Bob" sometimes (as in this case) takes helpful ideas a bit too far. But I'm still…

  • ……决定/命令/建议,但这有助于理解。- 大多数用户故事/需求都是等待打磨的毛坯钻石。(“他们到底想让我解决什么问题?”)必读书单:- 《程序员的职业素养》(Clean Coder)和《代码整洁之道》(Clean Code)https://www.amazon.com/Clean-Code-Handbook-Software-Craftsma... https://www.amazon.com/Clean-Coder-Conduct-Professional-Prog... - Kent Beck 的《测试驱动开发》(Test Driven Development)https://www.amazon.com/Test-Driven-Development-Kent-Beck/dp/...

    …decision/order/suggestion, but it helps understanding. - most user stories / user requests are raw diamonds waiting to be polished. ("What do they really want me to solve") Essential reading list: - Clean Coder and Clean Code https://www.amazon.com/Clean-Code-Handbook-Software-Craftsma... https://www.amazon.com/Clean-Coder-Conduct-Professional-Prog... - Test Driven Development by Kent Beck https://www.amazon.com/Test-Driven-Development-Kent-Beck/dp/...

  • 推荐的书我大部分都读过,但要说哪些能带来立竿见影的实在价值,我选这几本:1) 《Clean Code》 2) 《凤凰项目》(The Phoenix Project) 3) 《UNIX and Linux System Administration Handbook》。我敢说第2本肯定有人要和我争辩(耸肩)。不过要是想少走几年弯路,它绝对是必读之作。

    I've read most of the recommended books, but as far as what I think has delivered immediate real value, I'm going to go with: 1) Clean Code 2) The Phoenix Project 3) UNIX and Linux System Administration Handbook I'm sure #2 will be something folks want to fight over shrug. If you want to sidestep years of headache it's a must-read though.

正在加载完整评论……

键盘快捷键

/
聚焦搜索框
j / k
下一本 / 上一本
Enter
打开选中的书
Esc
关闭 / 返回
g h
回到首页
g b
值得读精选
g t
历史总榜
g r
上升最快
g l
我的书架
?
显示本帮助