Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31328 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57461 invoked by uid 1010); 30 Jul 2007 19:21:46 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 57446 invoked from network); 30 Jul 2007 19:21:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jul 2007 19:21:46 -0000 Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.94.56 as permitted sender) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Linux 2.6 Received: from [85.214.94.56] ([85.214.94.56:46026] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E0/75-26552-94A3EA64 for ; Mon, 30 Jul 2007 15:21:45 -0400 Received: from dhcp-172-30-11-223.zrh.corp.google.com (unknown [216.239.55.7]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id EBF751B3524; Mon, 30 Jul 2007 21:21:42 +0200 (CEST) Date: Mon, 30 Jul 2007 21:21:42 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <768462567.20070730212142@marcus-boerger.de> To: Stanislav Malyshev CC: Dmitry Stogov , internals@lists.php.net In-Reply-To: <46A69377.7010602@zend.com> References: <1377908441.20070725011955@marcus-boerger.de> <46A69377.7010602@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Question on namespaces From: helly@php.net (Marcus Boerger) Hello Stanislav, I use a broad variety of languages. And the older ones like C++ and Java are pretty distinctive. Namespaces have a dedicated range or space declared by curly braces and can contain other namespaces. Whileas Java packages are file wide. And actually that is much easier and quite what we want. We want this connection from a file to a namespace erm making a file giving a name prefix automatically. We do not want the confusion namespaces in the C++ sense can bring. So yes I like the implementation Dmitry did a lot - it just seems wrong to me calling them namespaces purely because we called them that prior to 5.0 release and becasue we always called them so in discussions. But the implementation is also quite different from anything we discussed outside of the paris meeting. That's all from my side. marcus Wednesday, July 25, 2007, 2:04:07 AM, you wrote: >> My only concern is that you took a package model and named it namespaces. >> Can we change the keyword from 'namespace' to 'package'? > Actually, it's neither, but it's more like namespaces than packages > IMHO. Though both terms are used in different languages in the roughly > same sense. Best regards, Marcus