Return to profile for Matt Cockayne

Defensive Programming! the quickest way to save your project

50 minute beginner seminar


Finagle’s Law states that “Anything that can go wrong, will -- at the worst possible moment.”

in a world where PHP 7 is imminent, Defensive Programming is not new, or shiny, or quick! it is about as far from modern practice as you get nowadays! ! It’s not the prettiest of techniques but it sometimes… it works!

Using some truly awful examples of real world code I demonstrate how you can apply the principles of defensive programming to make any codebase safe to work with!