Raphaël, this IS exactly my point! Why should the global variables be
prohibited if there is no difference in memory consumption with local
ones, only additional efforts to a programmer to track all parenthesis.
The common namespace is the other problem - it is due the luck of
interpreter usage or implementation, not the language itself.
> Also, does it make sense to worry about leaving a variable and its context
> in memory for a little while when this variable only takes a few bytes and
> the data that you are manipulating is several orders of magnitude larger?
> Keeping an integer and its context on the stack means almost nothing in
> comparison with the megabytes of image data that the script is processing.
Gimp-developer mailing list