成功加入购物车
[美] 马丁 (Martin R.C) 著 / 人民邮电出版社 / 2009-08 / 平装
售价 ¥ 12.00 2.0折
定价 ¥59.00
品相 八五品
优惠 满包邮
延迟发货说明
上书时间2023-08-11
卖家超过10天未登录
代码整洁之道(英文版)
软件质量,不但依赖于架构及项目管理,而且与代码质量紧密相关。这一点,无论是敏捷开发流派还是传统开发流派,都不得不承认。《代码整洁之道(英文版)》提出一种观念:代码质量与其整洁度成正比。干净的代码,既在质量上较为可靠,也为后期维护、升级奠定了良好基础。作为编程领域的佼佼者,《代码整洁之道(英文版)》作者给出了一系列行之有效的整洁代码操作实践。这些实践在《代码整洁之道(英文版)》中体现为一条条规则(或称“启示”),并辅以来自现实项目的正、反两面的范例。只要遵循这些规则,就能编写出干净的代码,从而有效提升代码质量。《代码整洁之道(英文版)》阅读对象为一切有志于改善代码质量的程序员及技术经理。书中介绍的规则均来自作者多年的实践经验,涵盖从命名到重构的多个编程方面,虽为一“家”之言,然诚有可资借鉴的价值。
RObertC.Marlin,(Bob大叔)自1970年进入软件行业,从1990年起成为国际软件咨询师。他是ObjectMentor公司的创始人和总裁。ObjectMentor:是由一群经验丰富的咨询师组成的公司,他们的客户遍及全世界。
业务涉及C++、.Java、C#、Ruby、面向对象、设计模式、UML、敏捷方法论和极限编程等领域。
Chapter1:CleanCode1ThereWillBeCode 2BadCode 3TheTotalCostofOwningaMess 4TheGrandRedesignintheSky 5Attitude 5ThePrimalConundrum 6TheArtofCleanCode? 6WhatIsCleanCode? 7SchoolsofThought 12WeAreAuthors 13TheBoyScoutRule 14PrequelandPrinciples 15Conclusion 15Bibliography 15Chapter2:MeaningfulNames 17Introduction 17UseIntention-RevealingNames 18AvoidDisinformation 19MakeMeaningfulDistinctions 20UsePronounceableNames 21UseSearchableNames 22AvoidEncodings 23HungarianNotation 23MemberPrexes 24InterfacesandImplementations 24AvoidMentalMapping 25ClassNames 25MethodNames 25DontBeCute 26PickOneWordperConcept 26DontPun 26UseSolutionDomainNames 27UseProblemDomainNames 27AddMeaningfulContext 27DontAddGratuitousContext 29FinalWords 30Chapter3:Functions 31Small! 34BlocksandIndenting 35DoOneThing 35SectionswithinFunctions 36OneLevelofAbstractionperFunction 36ReadingCodefromToptoBottom:TheStepdownRule 37SwitchStatements 37UseDescriptiveNames 39FunctionArguments 40CommonMonadicForms 41FlagArguments 41DyadicFunctions 42Triads 42ArgumentObjects 43ArgumentLists 43VerbsandKeywords 43HaveNoSideEffects 44OutputArguments 45CommandQuerySeparation 45PreferExceptionstoReturningErrorCodes 46ExtractTry/CatchBlocks 46ErrorHandlingIsOneThing 47TheErrorjavaDependencyMagnet 47DontRepeatYourself 48StructuredProgramming 48HowDoYouWriteFunctionsLikeThis? 49Conclusion 49SetupTeardownIncluder 50Bibliography 52Chapter4:Comments 53CommentsDoNotMakeUpforBadCode 55ExplainYourselfinCode 55GoodComments 55LegalComments 55InformativeComments 56ExplanationofIntent 56Clarication 57WarningofConsequences 58TODOComments 58Amplication 59JavadocsinPublicAPIs 59BadComments 59Mumbling 59RedundantComments 60MisleadingComments 63MandatedComments 63JournalComments 63NoiseComments 64ScaryNoise 66DontUseaCommentWhenYouCanUseaFunctionoraVariable 67PositionMarkers 67ClosingBraceComments 67AttributionsandBylines 68Commented-OutCode 68HTMLComments 69NonlocalInformation 69TooMuchInformation 70InobviousConnection 70FunctionHeaders 70JavadocsinNonpublicCode 71Example 71Bibliography 74Chapter5:Formatting 75Chapter6:ObjectsandDataStructures 93Chapter7:ErrorHandling 103Chapter8:Boundaries 113Chapter9:UnitTests 121Chapter10:Classes 135Chapter11:Systems 153Chapter12:Emergence 171Chapter13:Concurrency 177Chapter14:SuccessiveRenement 193Chapter15:JUnitInternals 251Chapter16:RefactoringSerialDate 267Chapter17:SmellsandHeuristics 285AppendixA:ConcurrencyⅡAppendixB:org.jfree.date.SerialDateAppendixC:CrossReferencesofHeuristicsEpilogueIndex
展开全部
图2
图3
配送说明
...
相似商品
为你推荐
开播时间:09月02日 10:30