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.
No comments:
Post a Comment