Tutorials

Contents:

  • UI/UX Design
  • JavaScript
  • Angular
  • NodeJS Tutorials
  • Php Tutorials
  • Andriod Tutorials
  • Vue Tutorials
  • Spring Boot Tutorials
  • Ethereum Tutorials
  • CI/CD Tutorials
  • Kubernetes Tutorials
  • LaravelLaraCasts
    • How To Read Code TOC
    • Building Laracasts TOC
    • Laravel Explained TOC
    • Queue it Up TOC
    • Laravel, Vue and SPAs TOC
    • Learn Vue 2: Step By Step TOC
    • Laravel Mix TOC
    • Practical Vue Components
    • Testing Vue
    • Be Awesome In PhpStorm
    • Professional PHP Workflow in Sublime Text 3
    • Vim Mastery
    • Visual Studio Code for PHP Developers
    • Object Oriented Principles in PHP
    • The PHP Practitioner
    • 10 Techniques for Cleaner Code
      • 1 Refactoring Insurance
      • 2 Play With Confidence
      • 3 Sweat the Small Stuff
      • 4 Be Strict With Your Controller
      • 5 Drop Down a Level
      • 6 An Alternative to Magic Number
      • 7 Avoid Flags
      • 8 The Strategy and Factory Pattern
      • 9 Choose Your Class Names Wisely
      • 10 Encapsulated UseCases
    • Design Patterns in PHP
    • PHP Bits
    • Simple Rules for Simpler Code
    • SOLID Principles in PHP
    • Understand Regular Expressions
    • Whip Monstrous Code Into Shape
    • What's New In PHP-7.1
    • Laravel 6 From Scratch
    • Build A Laravel App With TDD
    • Lets Build A Forum With Laravel and TDD
    • Eloquent Relationships
    • Get Real With Laravel Echo
    • How To Create Custom Laravel Presets
    • Intermediate Level
    • Laravel Authentication Techniques
    • Real Time Laravel With Socket.io
    • Testing Jargon
    • Testing Laravel
  • Security
  • iOS Tutorials
Tutorials
  • »
  • Laracasts Tutorials »
  • 10 Techniques For Cleaner Code
  • View page source

10 Techniques For Cleaner Code¶

  • 1 Refactoring Insurance
  • 2 Play With Confidence
  • 3 Sweat the Small Stuff
  • 4 Be Strict With Your Controller
  • 5 Drop Down a Level
  • 6 An Alternative to Magic Number
  • 7 Avoid Flags
  • 8 The Strategy and Factory Pattern
  • 9 Choose Your Class Names Wisely
  • 10 Encapsulated UseCases
Next Previous

© Copyright 2020, Team Osive.

Built with Sphinx using a theme provided by Read the Docs.