Programming Theory & Fundamentals: Global variables

Published on Wednesday, November 28, 2012

Description

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 http://www.youtube.com/playlist?list=PLGJDCzBP5j3wrKpj55pvjv9vUiZADhjXe Other links of interest: -- Our YouTube channel http://www.youtube.com/user/easylearntutorial -- Visit our website http://www.easylearntutorial.com for more text and video tutorials, updates, and upcoming tutorial articles and events -- Like us on Facebook http://www.facebook.com/easylearntutorialonline -- Follow us on Twitter http://www.twitter.com/easylearntuts

Copyright © 2014-2017 EasyLearnTutorial. All rights reserved.