Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts

Friday, March 20, 2009

Global Variables aka Prostitutes

Global variables are like unprotected free prostitutes. They are accessible to all. Just one mistake by someone can become a very simple reason for spreading diseases (bugs).

Be domestic and use only local (or parameters) variables or the once encapsulated by well behaved objects.