You can find bad programming practices even in the most popular deployments

  1. 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.
  2. 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.).

oreilly-blog-small.jpg

Social Bookmarks:

Leave a comment