Best Practices using globals vs. custprops?
Tiemo Hollmann TB
toolbook at kestner.de
Fri Jun 22 03:50:14 CDT 2007
on various sites - and again in this best practice thread - it is
recommended not to use globals, or at least so less as possible, because
they can be changed from everywhere and that's hard to debug and no nice
style. I really don't see any difference between using globals or properties
yet. Properties can be changed also "from everywhere" and even if you write
a central handler to change your properties, this handler can be called from
everywhere. What is the best practice for statuses, flags and all these
global informations, you need at different times and in different handlers?
And if there is a "clean pratice", what is the difference to using globals?
I appreciate your experience!
More information about the use-livecode