Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35663 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31894 invoked by uid 1010); 20 Feb 2008 20:43:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 31879 invoked from network); 20 Feb 2008 20:43:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2008 20:43:34 -0000 Authentication-Results: pb1.pair.com header.from=stefan.marr.de@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=stefan.marr.de@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 216.239.58.185 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: stefan.marr.de@gmail.com X-Host-Fingerprint: 216.239.58.185 gv-out-0910.google.com Received: from [216.239.58.185] ([216.239.58.185:37970] helo=gv-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2B/15-30965-5F09CB74 for ; Wed, 20 Feb 2008 15:43:33 -0500 Received: by gv-out-0910.google.com with SMTP id s4so440060gve.37 for ; Wed, 20 Feb 2008 12:43:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=fiFpLEIWYpnqqWMfMMLUJCU9hTAEOKCimfz+O5UDj50=; b=Rye1TkQ4yylJQQaMe7TpLH9v/5RSl60mtlLwBMQjbqx5Ah0MD9gNX4htWAFFeFASUrROCxLtKuG5TUnaIF9sD/UZPdPsKXcr0A+adgbIgKfgiFmmDvMjAmJQBubV9gcgzZoqOC7EJSTglesUPMFkiC5O3XSLx8pRPNll8yc7Ayc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Bx6qaWU2nSbnQ2N69ZltjlMtcKcbnCyFNQqO6WJrzcFAPg6Lxaj3AYy8L46w5dmK0gBOEsApM4uERYNfcvLytY7cRCGC3YiUpfEDsb78zgrfC+t0IVqV319LC8GdmHTlmxLlPk1n01YAUUHxRPZcsyNPwsNlnZjtN6wdlVVARJw= Received: by 10.142.86.7 with SMTP id j7mr6919806wfb.78.1203540208868; Wed, 20 Feb 2008 12:43:28 -0800 (PST) Received: by 10.142.141.2 with HTTP; Wed, 20 Feb 2008 12:43:28 -0800 (PST) Message-ID: <1e12984d0802201243gfa51f01i311891e8965ed51e@mail.gmail.com> Date: Wed, 20 Feb 2008 21:43:28 +0100 Reply-To: php@stefan-marr.de Sender: stefan.marr.de@gmail.com To: "Marcus Boerger" Cc: Evert|Rooftop , "Stanislav Malyshev" , internals@lists.php.net In-Reply-To: <1495054633.20080220205951@marcus-boerger.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <001c01c87264$3c01b4e0$b4051ea0$@de> <173732199.20080219175837@marcus-boerger.de> <1203452909.24580.9.camel@localhost> <1e12984d0802191323o710c6b8ej3a54af7901cf35f1@mail.gmail.com> <47BB4AC9.9070701@zend.com> <1e12984d0802191346x7c145d7fp14c01ec4e5993779@mail.gmail.com> <47BB4F49.1030904@rooftopsolutions.nl> <1e12984d0802191359p4f21c3acrdff4b86adfb4bf3@mail.gmail.com> <1495054633.20080220205951@marcus-boerger.de> X-Google-Sender-Auth: 52904d95ff08e2dc Subject: Re: [PHP-DEV] RFC: Traits for PHP From: php@stefan-marr.de ("Stefan Marr") > If we feel it gets necessary we probbaly > might want to support a syntax like: > 'trait_method' => false > 'trait_method' => 'new_name' > 'trait_method' => array('new_name', 'trait_method' I'm not comfortable with this notation, since it strengthens the impression that it is renaming. In my eyes it looks like this: "trait_method => false" means trait_method is moved to false, it is deleted, but this leads to the wrong impression of this: "trait_method => new_name" means trait_method is moved to new_name, and I am absolutely against this notion. Renaming implies in my opinion all references to this method might be adjusted (what is not possible at all) and the original method is "lost". There are several problems with with "lost" method already discussed on this list, like not fulfilled requirements (the delete method thing). The aliasing notion has the benefit that a method has to be explicitly excluded to be removed. So the developer explicitly requests for a change that he will handle on its own. Kind Regards Stefan