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.
Overview
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