Rate this book

Code Simplicity: The Fundamentals Of Software (2012)

by Max Kanat-Alexander(Favorite Author)
3.39 of 5 Votes: 5
ISBN
1449313892 (ISBN13: 9781449313890)
languge
English
genre
publisher
O'Reilly Media
review 1: I found it overly simply. I am probably not the intended audience. I did think it was to the point, and potentially useful as are most things to people who don't know them. The author himself knows that and points out that he isn't presenting anything new rather stating that by adhering to these as laws rather than guiding principles we will end up with better code. Most anyone who has done anything with software will know the principles of keeping things simple, not repeating yourself, adding comments to explain why instead of what, etc. that being said for someone just getting started writing code this book would probably have a lot more value. Even though I found it just "Ok" I give it 3 stars on the merit that it is useful and well done, just not aimed at me which is n... moreo fault of the book itself. If you read it with the expectation if it being a book on the philosophy of code you may get more out of it.
review 2: 原文:Code Simplicity: The Science of Software Development时间:June 20, 2014Preface 前言P1好程序员和差程序员的区别在于理解能力。差劲的程序员不理解自己做的事情,优秀的程序员则相反。信不信由你,道理就这么简单。Chapter 2 缺失的科学P12每个写代码的人都是设计师,团队里的每一个人都有责任保证自己的代码有着良好的设计。任何软件项目里,任何写代码的人,在任何层面上,都不能忽略软件设计。Chapter 3 软件设计的推动力P22一个人写出优秀软件的潜力,完全取决于他在多大程度上理解了“帮助其他人”的思想。P24软件设计科学的目标:1)确保软件能提供尽可能多的帮助。2)确保软件能持续提供尽可能多的帮助。3)设计程序员尽可能简单地开发和维护的软件系统,这样的系统才能为用户提供尽可能多的帮助,而且能持续提供尽可能多的帮助。Chapter 4 未来P37程序员犯的最常见也是最严重的错误,就是在其实不知道未来的时候去预测未来。Chapter 5 变化P43变化定律:程序存在的时间越久,它的某个部分需要变化的可能性就越高。P46软件设计的三大误区:1)编写不必要的代码;2)代码难以修改;3)过分追求通用。P46不要编写不是必须的代码,并且要删除没有用到的代码。P50设计程序时,应当根据你现在确切知道的需求,而不是你认为未来会出现的需求。Chapter 6 缺陷与设计P57在程序中新增缺陷的可能性与代码修改量成正比。P57最好的设计,就是能适应外界尽可能多的变化,而软件自身的变化要尽可能少。P58永远不要“修正”任何东西,除非它真的有问题,而且有证据表明问题确实存在。P59理想情况下,任何系统里的任何信息,都应当只存在一次。Chapter 7 简洁P63简洁定律:软件任何一部分的维护难度,反比于该部分的简洁程度。P71代码可读性主要取决于字母和符号之间的空白排布。Chapter 8 复杂性P86大多数麻烦的设计问题,都可以用在纸上画图或写出来的办法找到答案。Chapter 9 测试P95你对软件的了解程度,等于你真正测试它的程度。P95除非亲自测试过,否则你不知道软件是否能正常运行。 less
Reviews (see all)
soccerwarrior
Great, quick reading. Provides a unique perspective on software development.
haitianbeauty
As the code it proposes: clean, concise, straight to the point.
aubon
Short, but brilliant.
Write review
Review will shown on site after approval.
(Review will shown on site after approval)