Refactoring and Design Patterns
文章推薦指數: 80 %
Refactoring is a controllable process of improving code without creating new functionality. Design Patterns are typical solutions to the commonly occurring ... Hey,Ihavejustreducedthepriceforallproducts.Let'sprepareourprogrammingskillsforthepost-COVIDera.Checkitout» Hello,world! Refactoring.Gurumakesiteasyforyoutodiscovereverythingyouneedtoknowaboutrefactoring,designpatterns,SOLIDprinciples,andothersmartprogrammingtopics. Thissiteshowsyouthebigpicture,howallthesesubjectsintersect,worktogether,andarestillrelevant.Idon’tpretendtobetheinventoroftheseconcepts—mostofthemwereinventedbyothersduringthepast20years.ButIthinkthattheconnectionbetweenrefactoring,patternsandgeneralprogrammingprinciplesstillremainsamysteryforthemajorityofprogrammers.ThisistheproblemIwouldliketosolvehere. P.S.WhileIupdatetheprojectconstantly,youcanalreadyfindtonsofinfoonrefactoringanddesignpatternsrighthereonthewebsite.TracktheprojectprogressviaemailoronFacebook. —AlexanderShvetsTheone-manbandbehindRefactoring.Guru Subscribeforupdates Enteryouremailtotracktheprojectprogress.Youcanexpectnomorethanoneemailpermonth.Nospam,promise. Subscribe Name Facebookpage Refactoring Refactoringisasystematicprocessofimprovingcodewithoutcreatingnewfunctionality.Refactoringtransformsamessintocleancodeandsimpledesign. MoreaboutRefactoring» DesignPatterns DesignPatternsaretypicalsolutionstocommonlyoccurringproblemsinsoftwaredesign.Theyareblueprintsthatcanbetakenandcustomizedtosolveaparticulardesignprobleminyourcode. MoreaboutDesignPatterns» Facebook Twitter Language English Español Français Polski PortuguêsBrasileiro Русский Українська 中文 Contactus Login EnglishEnglish EspañolEspañol FrançaisFrançais PolskiPolski PortuguêsBrasileiroPortuguês-Br РусскийРусский УкраїнськаУкраїнська 中文中文 PremiumContent DesignPatternseBook RefactoringCourse Refactoring WhatisRefactoring Cleancode Technicaldebt Whentorefactor Howtorefactor Catalog CodeSmells Bloaters LongMethod LargeClass PrimitiveObsession LongParameterList DataClumps Object-OrientationAbusers SwitchStatements TemporaryField RefusedBequest AlternativeClasseswithDifferentInterfaces ChangePreventers DivergentChange ShotgunSurgery ParallelInheritanceHierarchies Dispensables Comments DuplicateCode LazyClass DataClass DeadCode SpeculativeGenerality Couplers FeatureEnvy InappropriateIntimacy MessageChains MiddleMan OtherSmells IncompleteLibraryClass Refactorings ComposingMethods ExtractMethod InlineMethod ExtractVariable InlineTemp ReplaceTempwithQuery SplitTemporaryVariable RemoveAssignmentstoParameters ReplaceMethodwithMethodObject SubstituteAlgorithm MovingFeaturesbetweenObjects MoveMethod MoveField ExtractClass InlineClass HideDelegate RemoveMiddleMan IntroduceForeignMethod IntroduceLocalExtension OrganizingData SelfEncapsulateField ReplaceDataValuewithObject ChangeValuetoReference ChangeReferencetoValue ReplaceArraywithObject DuplicateObservedData ChangeUnidirectionalAssociationtoBidirectional ChangeBidirectionalAssociationtoUnidirectional ReplaceMagicNumberwithSymbolicConstant EncapsulateField EncapsulateCollection ReplaceTypeCodewithClass ReplaceTypeCodewithSubclasses ReplaceTypeCodewithState/Strategy ReplaceSubclasswithFields SimplifyingConditionalExpressions DecomposeConditional ConsolidateConditionalExpression ConsolidateDuplicateConditionalFragments RemoveControlFlag ReplaceNestedConditionalwithGuardClauses ReplaceConditionalwithPolymorphism IntroduceNullObject IntroduceAssertion SimplifyingMethodCalls RenameMethod AddParameter RemoveParameter SeparateQueryfromModifier ParameterizeMethod ReplaceParameterwithExplicitMethods PreserveWholeObject ReplaceParameterwithMethodCall IntroduceParameterObject RemoveSettingMethod HideMethod ReplaceConstructorwithFactoryMethod ReplaceErrorCodewithException ReplaceExceptionwithTest DealingwithGeneralization PullUpField PullUpMethod PullUpConstructorBody PushDownMethod PushDownField ExtractSubclass ExtractSuperclass ExtractInterface CollapseHierarchy FormTemplateMethod ReplaceInheritancewithDelegation ReplaceDelegationwithInheritance DesignPatterns WhatisaPattern What’sadesignpattern? Historyofpatterns WhyshouldIlearnpatterns? Criticismofpatterns Classificationofpatterns Catalog CreationalPatterns FactoryMethod AbstractFactory Builder Prototype Singleton StructuralPatterns Adapter Bridge Composite Decorator Facade Flyweight Proxy BehavioralPatterns ChainofResponsibility Command Iterator Mediator Memento Observer State Strategy TemplateMethod Visitor CodeExamples C# C++ Go Java PHP Python Ruby Swift TypeScript Login Contactus
延伸文章資訊
- 1Refactoring.Guru - GitHub
Guru has 12 repositories available. Follow their code on GitHub. ... design-patterns-typescript P...
- 2Gang of Four Design Patterns - Spring Framework Guru
The GoF Design Patterns are broken into three categories: Creational Patterns for the creation of...
- 3Refactoring and Design Patterns
Refactoring is a controllable process of improving code without creating new functionality. Desig...
- 4Design Pattern guru · GitBook - Introduction
design pattern by guru. 设计模式概念最初是由四人组系统提出的,在面向对象编程过程中总结出来的一套设计方法论。 The idea was picked up by four...
- 5How to Learn Design Patterns | scraggo.com
It's a Creational pattern of low complexity. (refactoring.guru also gives it a medium rating in t...