Re: Question about Namespace patch
| From: | Richard Lynch | Date: | Fri, 27 Jul 2007 03:47:44 +0000 |
| Subject: | Re: Question about Namespace patch | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-31287@lists.php.net to get a copy of this message | ||
On Wed, July 25, 2007 2:10 pm, Stanislav Malyshev wrote:
>> Or, in my dream world of PHP being unique:
>> import LibB (-Date);
>> import LibB::Date as BDate;
>
> next would be:
> SELECT class FROM LibB WHERE class.name NOT LIKE 'Date%' AND
> class.version < 3.14 OR class.approved='Manager'
> Maybe we should use PDO to support these? ;)
No, I think that if I need to use a DB to manage my package names, I
could do it just fine *IF* sufficient granularity is provided as
above.
But there's no such ability at this time, which makes it pretty
unsuitable for the 90%, imho.
>> I don't think it works well at all for the unwashed masses that just
>> want to get the job done with minimum fuss -- which is what PHP was
>> originally all about :-)
>
> Unwashed masses did 10 years fine without it :)
So we don't need namespaces at all? :-)
If we need them, shouldn't they be useful to the 90% instead of only
the 10%?
Or is this an "advanced feature" that only the 10% should even use?
Shall we document it as such?
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?