- Even though it is essential to print ANY type of errors and warnings (even simple notices) in development mode, these things should not be served to your clients.
- Handle errors gracefully and provide a “plan B” for when something fails. It is elementary to handle IO errors (file inclusion, network/DB communication, etc.).