Click here to Skip to main content
15,915,867 members
Articles / All Topics

Robert’s Rules of Coders: #2 Avoid Global Variables

Rate me:
Please Sign up or sign in to vote.
4.87/5 (6 votes)
2 Aug 2015CPOL2 min read 11.3K   4  
Global variables are variables that can be accessed from anywhere in the program.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Kraft Software LLC
United States United States
Rob Kraft is an independent software developer for Kraft Software LLC. He has been a software developer since the mid 80s and has a Master's Degree in Project Management. Rob lives near Kansas City, Missouri.

Comments and Discussions