Clean Code in C#
TraditionallyassociatedwithdevelopingWindowsdesktopapplicationsandgames,C#isnowusedinawidevarietyofdomains,suchaswebandcloudapps,andhasbecomeincreasinglypopularformobiledevelopment.Despiteitsextensivecodingfeatures,professionalsexperienceproblemsrelatedtoefficiency,scalability,andmaintainabilitybecauseofbadcode.CleanCodeinC#willhelpyouidentifytheseproblemsandsolvethemusingcodingbestpractices.Thebookstartswithacomparisonofgoodandbadcode,helpingyouunderstandtheimportanceofcodingstandards,principles,andmethodologies.You’llthengettogripswithcodereviewsandtheirroleinimprovingyourcodewhileensuringthatyouadheretoindustry-recognizedcodingstandards.ThisC#bookcoversunittesting,delvesintotest-drivendevelopment,andaddressescross-cuttingconcerns.You’llexploregoodprogrammingpracticesforobjects,datastructures,exceptionhandling,andotheraspectsofwritingC#computerprograms.Onceyou’vestudiedAPIdesignanddiscoveredtoolsforimprovingcodequality,you’lllookatexamplesofbadcodeandunderstandwhichcodingpracticesyoushouldavoid.Bytheendofthiscleancodebook,you’llhavethedevelopedskillsyouneedinordertoapplyindustry-approvedcodingpracticestowriteclean,readable,extendable,andmaintainableC#code.
·10萬字