Programming Theory & Fundamentals: Global variables

Published on Wednesday, November 28, 2012


Learn how to make a program the right way by avoiding global variables. Yes, they are easy to code, but you, as serious developer, should understand why this is one of the best programming tips I can share with you. Before writing variables that can be accessible from anywhere in your code, understand what the trade offs are, and be sure you have a good reason to do so, if you absolutely must. Otherwise, just structure your code better, and pass your data around with purpose. For more programming theory video tutorials, check out the complete playlist at Other links of interest: -- Our YouTube channel -- Visit our website for more text and video tutorials, updates, and upcoming tutorial articles and events -- Like us on Facebook -- Follow us on Twitter

Copyright © 2014-2017 EasyLearnTutorial. All rights reserved.