PHP UK

Escaping the Code Maze - Yannick Chenot

29:18 · 20 Feb 2026 · YouTube

About this talk

This talk explores the complexities of navigating a code base, likening it to traversing a maze with misleading paths. The speaker presents the Closed-by-Default Principle, which emphasizes keeping unnecessary code paths closed to minimize cognitive load for developers. The presentation also delves into the evolution of PHP, highlighting features introduced in each version to enhance code navigability. Additionally, the speaker discusses how to utilize static analysis tools to enforce these principles, ensuring that every segment of the code leads to a meaningful outcome.