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:

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s