Lets not say what i didnt say...did anyone ask for

class a (
   class  b (
   )
)

i believe not.. the point was to keep the same coding standards if i
may say so than classes, interfaces, abstracts, etc. simply for
consistency and normalization..

ps sorry for brackets its from my mobile phone

On 7/6/07, Stanislav Malyshev <[EMAIL PROTECTED]> wrote:
> namespace A::B
> {
>    class BooYa
>    {
>        const C = 'Foo';
>    }
> }
>
> --- Then..
>
> import A::B::BooYa;
> echo BooYa::C;

Well, we could have braces but...

> That way we can put more than one namespace within a file or such...

That is exactly what I don't want to have, since then you can't see in
the file which name means what - you'd have to trace it back to
including namespace to see what is the real name of the class.

Also if we do braces next thing would be asked to do namespace {
namespace {} } and we don't want that either :) We try to keep it really
simple.

--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED]   http://www.zend.com/
(408)253-8829   MSN: [EMAIL PROTECTED]




--
David Coallier,
Founder & Software Architect,
Agora Production (http://agoraproduction.com)
51.42.06.70.18

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to