Let's Talk Code
summary
Covers principles and practices for writing more robust PHP code, including favoring composition, making properties private by default, using named constructors, managing state and immutability, handling call chains, and designing layers and abstractions. Focuses on concrete language-level and design techniques to reduce bugs and make code easier to maintain.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 2:14Composition vs inheritance
- 7:14State problems in objects
- 11:14Dependency injection
- 15:10Writing methods correctly
- 22:59Exception types and handling
- 25:30Service vs non-service objects
- 30:53App launch alternatives
- 32:41Effective testing
- 34:11Immutability vs mutability
- 38:49Layers and abstraction
- 40:44Summary








