Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Laracasts

10 Techniques for Cleaner Code

via Laracasts

Overview

We've all written code that misses the mark. Sure, it works, but, still, you're left with the feeling that you've missed something. The difficult part, unfortunately, is recognizing what that "something" is. In this series, we'll review ten techniques, one per episode, to improve the clarity of your PHP code.

Syllabus

  • Refactoring Insurance
  • Play With Confidence
  • Sweat the Small Stuff
  • Be Strict With Your Controllers
  • Drop Down a Level
  • An Alternative to Magic Numbers
  • Avoid Flags
  • The Strategy and Factory Patterns
  • Encapsulated UseCases
  • Choose Your Class Names Wisely

Taught by

Jeffrey Way

Reviews

Start your review of 10 Techniques for Cleaner Code

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.