Re: Recursion script which doesn't?
Re: Recursion script which doesn't?
- Subject: Re: Recursion script which doesn't?
- From: Ed Stockly <email@hidden>
- Date: Fri, 06 Apr 2001 22:11:04 -0700
>
>>>>There are people, including some real experts here, who believe that
globals are dangerous, but I've never understood why.
The best argument I've heard against globals in programming is that if you
have a large, complex project with numerous handlers then using globals
makes it more difficult in debugging to track down where the value of a
particular variable was changed. If you rely mostly on local variables then
those variables are only seen within the handlers and there is no question
where the value was set.
ES
-- <
http://justapplescript.weblogs.com/>
-- <
http://justapplescript.weblogs.com/AppleScriptLearningResources>
-- Feedback welcome, join today!