Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31584 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 821 invoked by uid 1010); 15 Aug 2007 17:13:12 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 805 invoked from network); 15 Aug 2007 17:13:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Aug 2007 17:13:12 -0000 Authentication-Results: pb1.pair.com smtp.mail=olivier.hill@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=olivier.hill@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.184.235 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: olivier.hill@gmail.com X-Host-Fingerprint: 64.233.184.235 wr-out-0506.google.com Linux 2.4/2.6 Received: from [64.233.184.235] ([64.233.184.235:52157] helo=wr-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 50/20-33321-52433C64 for ; Wed, 15 Aug 2007 13:13:10 -0400 Received: by wr-out-0506.google.com with SMTP id 58so584293wri for ; Wed, 15 Aug 2007 10:13:07 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MxG27MpsbGV6N6M/hu5xC99RuX5EmJw8i1We0LGZ8WmOdQMCeoo0iKqGp9j2eK/IKVh6M/ahACgndMBDMo3vJ5rW3rq2mtFhFS71lb8nbTQP92aAXIo09viPoS/l0MGUrK04IqC0z3S/GE2TuL4ZZqnelC6YBmlt8RcwEoKwzG0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FubxQuNnp3SZb53Ik2DRXswhZxbCa8HzMERpF+5Ww8meFJkICwC2DUeP54n1Bf/8ed3i1Fwfk4+c/d/qFqOoINGEHg12j2FtAq/qMbur2DMU2vU0liB7ouPwixKNjEn7WJvRyBe5oYWnjrWnQdfRxo09dVE3c0MxXN/IAKfJ3h4= Received: by 10.90.90.3 with SMTP id n3mr1007386agb.1187197987374; Wed, 15 Aug 2007 10:13:07 -0700 (PDT) Received: by 10.90.78.4 with HTTP; Wed, 15 Aug 2007 10:13:07 -0700 (PDT) Message-ID: Date: Wed, 15 Aug 2007 13:13:07 -0400 To: "Marc Gear" Cc: "PHP Internals" In-Reply-To: <6094eac50708150709o6d1fe42bx3449af2bc1b7f54d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46BE14B1.5050209@zend.com> <101178402.20070814174515@marcus-boerger.de> <6094eac50708150709o6d1fe42bx3449af2bc1b7f54d@mail.gmail.com> Subject: Re: [Fwd: Re: [PHP-DEV] Renaming namespaces to packages] From: olivier.hill@gmail.com ("Olivier Hill") Marc, This is not the right reason for naming it namespace. Example: Say I am writing a new language. I want to introduce something similar to functions. But since OO is popular and sounds nice.. why not call it method on an object? People are asking for objects.. I'll just give them objects. It's not about the popularity of a word, but the meaning of it. If it resembles more of a package, let's call it package (as it does currently, namespace should be nested.. but that's my opinion). Regards, Olivier On 8/15/07, Marc Gear wrote: > FWIW I am for "namespaces" because: > > - the functionality mentioned most often as missing in PHP is > 'namespaces'. People want 'namespaces' (see > http://en.wikipedia.org/wiki/PHP#Criticism) > - What they really want is no more clashing > classes/functions/variables when they integrate third party apps > (which the patch provides) > - What they also want is no more clashing objects/functions when a new > PHP extension becomes installed by default (Date anyone?) (which the > patch provides) > - PHP convention is one class-per-file, ergo, following convention > would mean braces are not required anyway. > - Dmitri gets the kudos for introducing PHPs most asked for feature, > instead of 'packages' which no one has asked for. > - The patch introduces naming spaces. at a per-file level. > - Packages suggests a connection between folder structure and file > contents of which there is none. > > Purely from a PR point of view, 'namespaces' is going to be a winner > amongst users and 90% of people will wish for a braces implementation, > while 'packages' is likely to generate more demands for something > called 'namespaces' > -- > Marc Gear > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >