欢迎来到天天文库
浏览记录
ID:34576684
大小:5.45 MB
页数:919页
时间:2019-03-08
《Code Complete.second edition.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、CodeCompleteContentsPage1FRONTMATTERPreface[Preface]WhoShouldReadThisBook?WhereElseCanYouFindThisInformation?KeyBenefitsofThisHandbookWhyThisHandbookWasWrittenBookWebsiteAuthorNoteNotesabouttheSecondEdition[new]Acknowledgments[n/a]LAYINGTHEFOUNDATIONWelcometoSoftwareConstruction[1]1.1WhatIsSoftwar
2、eConstruction?1.2WhyIsSoftwareConstructionImportant?1.3HowtoReadThisBookMetaphorsforaRicherUnderstandingofSoftwareDevelopment[2]2.1TheImportanceofMetaphors2.2HowtoUseSoftwareMetaphors2.3CommonSoftwareMetaphorsMeasureTwice,CutOnce:UpstreamPrerequisites[3]3.1ImportanceofPrerequisites3.2DeterminetheK
3、indofSoftwareYou’reWorkingOn3.3Problem-DefinitionPrerequisite3.4RequirementsPrerequisite3.5ArchitecturePrerequisite3.6AmountofTimetoSpendonUpstreamPrerequisitesKeyConstructionDecisions[3+newmaterial]4.1ChoiceofProgrammingLanguage4.2ProgrammingConventions4.3YourLocationontheTechnologyWave4.4Selecti
4、onofMajorConstructionPracticesCREATINGHIGHQUALITYCODEDesigninConstruction[mostlynewmaterial,somefrom7]5.1DesignChallenges5.2KeyDesignConcepts5.3DesignBuildingBlocks:Heuristics5.4DesignPractices©StevenC.McConnell.AllRightsReserved.1/12/20043:43PMH:BOOKScodec2edToc-Detailed.docCodeCompleteContent
5、sPage25.5CommentsonPopularMethodologiesWorkingClasses[mostlynewmaterial,alittlefrom6]6.1ClassFoundations:AbstractDataTypes(ADTs)6.2GoodClassInterfaces6.3DesignandImplementationIssues6.4ReasonstoCreateaClass6.5Language-SpecificIssues6.6BeyondClasses:PackagesHigh-QualityRoutines[5]7.1ValidReasonstoC
6、reateaRoutine7.2DesignattheRoutineLevel7.3GoodRoutineNames7.4HowLongCanaRoutineBe?7.5HowtoUseRoutineParameters7.6SpecialConsiderationsintheUseofFunctions7.7MacroRoutinesandInlineRoutinesDefensiveProgramming[5.6+newmaterial]8.1ProtectingYourProgramFromInvalidInputs8.2Assertions8.3ErrorHandlingTechn
7、iques8.4Exceptions8.5BarricadeYourProgramtoContaintheDamageCausedbyErrors8.6DebuggingAids8.7DeterminingHowMuchDefensiveProgrammingtoLeaveinProductionCode8.8BeingDefensiveAboutDefensiveProgrammingThePseudocodeProg
此文档下载收益归作者所有