[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: globals (_locals)
- From: "John Belmonte" <jvb@...>
- Date: Mon, 4 Jun 2001 22:51:45 +0900
> That is similar to what we are thinking. A global keyword to declare
> variables, and a mode that demand explicit declaration of all variables
> that get *assigned* (not used; otherwise we sould have to declare every
> global function that we call... Or should we?). (Maybe the "global"
> declaration itself may work also as a switch for strict declaration mode.)
So how do things work at the global scope? Unless there is some good reason
to make the global keyword required there, it would be nice not to. Then
"normal" global function and data definitions will not be affected.
It seems that this globals issue is tied with whatever the module system
becomes. It's hard to decide about one without the other.