10 Techniques For Cleaner Code ================================ .. toctree:: :maxdepth: 2 1 Refactoring Insurance <./RefactoringInsurance.rst> 2 Play With Confidence <./PlayWithConfidence.rst> 3 Sweat the Small Stuff <./SweattheSmallStuff.rst> 4 Be Strict With Your Controller <./BeStrictWithYourControlle.rst> 5 Drop Down a Level <./DropDownaLevel.rst> 6 An Alternative to Magic Number <./AnAlternativetoMagicNumbe.rst> 7 Avoid Flags <./AvoidFlags.rst> 8 The Strategy and Factory Pattern <./TheStrategyandFactoryPatt.rst> 9 Choose Your Class Names Wisely <./ChooseYourClassNamesWisel.rst> 10 Encapsulated UseCases <./EncapsulatedUseCases.rst>