Re: fonts - Reply
- Posted by "Christopher K. Lester" <cklester at FLASH.NET> Sep 23, 1997
- 816 views
At 01:40 PM 9/23/97 +0900, you wrote: > >Babo Jiri wrote: >> >>Colin also dislikes my frequent use of global variables - he obviously >>thinks they are an equivalent of a 'goto' on the scale of mortal sins. > >I agree with your opinion. I also like to use global variables to make >my codes more readable, compact and easy to use. Upto now, Using global I don't know why I think this way (I'm sure there was some subliminal programming done to me at some point), but I recall either reading or being told that "global" variables are a no-no in object oriented programming. When I program now, I try to avoid global variables (you wouldn't know this by looking at my code, though :) by passing the variable to the function or procedure, having the func/proc manipulate that data, then spit it back out. For example: database = manage(database) I figure in the future it will be easier to debut. But what do I know, really? Maybe I should go back and review all I've "learned." Then maybe I won't be so confused. Later! ck