Welcome! Log In Create A New Profile

Advanced

RE: [PHP-DEV] Re: Class visibility in namespaces

Posted by Franck Jasper 
Franck Jasper
RE: [PHP-DEV] Re: Class visibility in namespaces
October 31, 2008 12:50AM
>It's a bit ironic that you underestimate PHP's devs with that sort of
>assumption, don't you think?

I do not underestimate anyone.
I just meant that those who will find class visibility "complex" may not use
namespaces at all.
But those who write a full OO code may want full OO features. Not OO things
that have been made "easier" for them.
Btw, I am not sure that a missing feature makes a scheme easier.

>If you dig into this list's archives, you'll see that namespaces were
>mentionned as a matter of interest as early as 2000(?) and if memory
>serves, a previous round of patches in 2005 did include class
>visibility (a side effect actually... IIRC). At least, I remember
>super-long threads about it and it wasn't pretty. Please don't take my
>word for it as I might remember some of it incorrectly.

I am not saying that the people here have not thought about it.
But the longer you wait, the more you're likely to run into implementation
problems.
And you know that it's always more efficient to implement the different
aspects of a feature globally, than to add them one by one, as the requests
arrive.
Hence my reaction.

Anyway, namespaces are coming. That's very good news, even in 2008. :)

Franck




--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Steph Fox
Re: [PHP-DEV] Re: Class visibility in namespaces
October 31, 2008 03:10AM
> But the longer you wait, the more you're likely to run into implementation
> problems.

I think what you meant to say was, 'the longer you wait, the more likely you
foresee the implementation problems'.

I don't know how many users you have. I'm not going to pretend I know how
many users PHP has either. I do know though that if we get it badly wrong,
it will cause a lot of people a lot of problems

It doesn't matter what other languages do, because other languages don't
have it 100% right either. If any of them did, why would there be more than
one language for the Web?

- Steph


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry, only registered users may post in this forum.

Click here to login