Re: wacky object idea
| From: | Chuck Hagenbuch | Date: | Tue, 29 Aug 2000 02:37:16 +0000 |
| Subject: | Re: wacky object idea | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-31026@lists.php.net to get a copy of this message | ||
Quoting Andi Gutmans <andi@zend.com>:
> Static class variables is something which should be quite doable and I
> think a good thing.
I'm very glad to hear that. :)
> The namespace issue has been discussed in the past and seems to be quite
> problematic. I think you can do most of what you need with a class. If we
> implement statics we might need to add some new syntax to refer to them
> from static functions.
Is there a reason that Class::variable won't work? It seems intuitive, given
how static and instantiated classes (objects) currently work...
And yes, if we get static class variables (what about constants?), then
namespaces (though they're nice, and a very clean solution) become much less
necessary.
Thanks for your responses!
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
--
relevancy is the opiate of the masses