Archive for the ‘defensive programming’ Category

Poka Yoke – Saving Projects with Hyper-Defensive Programming

Posted on: No Comments
When working in a medium to large team on the same codebase, it can sometimes become hard to understand each other's code and how to use it. Various solutions exist to help with this. For example, you can agree to follow a set of coding standards to ma...

More Tips for Defensive Programming in PHP

Posted on: No Comments
The general definition of defensive programming (as seen in Part 1, an overview piece on Defensive Programming in PHP) being used here is thus: Defensive programming, simply put, is programming with the intent to anticipate likely failure points. The ...