Originally posted by Eric Pearson:
Shawn --
Are you inferring (from what you have read) that equates should be avoided? Because they are similar to public variables?
-- Eric
Shawn --
Are you inferring (from what you have read) that equates should be avoided? Because they are similar to public variables?
-- Eric
What I was simply tring to do was find out why most books, etc. tell you to avoid using public vars. They all tell you not to use them or to avoid them as much as possible, but then they never go on to say why. I then noticed that equates/constants are also public vars with the differences stated above. So I just wanted to see if anyone had any idea other than what is obvious as to why.
Thanks for all for the replies.
------------------
Leave a comment: