Re: Calling symbol table patch
| From: | Andrei Zmievski | Date: | Mon, 20 Nov 2000 21:35:51 +0000 |
| Subject: | Re: Calling symbol table patch | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-38696@lists.php.net to get a copy of this message | ||
On Mon, 20 Nov 2000, Zeev Suraski wrote:
> But much more correct. Giving access to the calling function symbol table,
> without the calling function explicitly 'giving permission' to do it (in
> the form of passing its symbol table as an argument), breaks a fundamental
> rule of scope in structured programming...
>
> We all know that there are some cases in which a specialized function would
> be a serious shortcut, but would be the wrong thing to do. I think that's
> such a case.
Then it should be easy to pass the symbol table (macros would be a way
to do it, but who knows how far off that is).
-Andrei
If you find a job that you love, you'll
never work another day in your life.
- Mark Jackson