Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35568 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11088 invoked by uid 1010); 18 Feb 2008 23:16:43 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 11073 invoked from network); 18 Feb 2008 23:16:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Feb 2008 23:16:43 -0000 Authentication-Results: pb1.pair.com smtp.mail=chrisstocktonaz@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=chrisstocktonaz@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.184.224 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: chrisstocktonaz@gmail.com X-Host-Fingerprint: 64.233.184.224 wr-out-0506.google.com Linux 2.4/2.6 Received: from [64.233.184.224] ([64.233.184.224:17885] helo=wr-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D3/93-23568-9D11AB74 for ; Mon, 18 Feb 2008 18:16:43 -0500 Received: by wr-out-0506.google.com with SMTP id c38so1838299wra.17 for ; Mon, 18 Feb 2008 15:16:38 -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:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=yY+5+23XpHSAUu+aEk0Cd8rIjwi4wSGEb95jebw9EcY=; b=HBxoxKgB3qrTOwKKRf5glTtw9qS6v65eiH3I1pfkdZxfaJ0QJqqDLjFN//mUWFi0tXAVW85WjBFnG75puaFeCCsdfv6iajFuWK/+DC6F4T1l03L7jVPWYIQddYu8bfmJcl81N2QECGpJ+IHiWocdPMWJAqznb6zgn0Ru37KRLZU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Kt3RAxnyuqAHBX3XRMoaiFESji2fBGhuU/ICq0j42AELCveMvOJVDj1UHj1Y4+XzbQ23waUmFwdMAXM8q5s0tabKcV4nCrPo2qBEH7DrahEVm/i0EOerq4t+7eAGzbmscyIecE1GkWPGvC9OBcMh/dh9XBehMTpkAONFP2yMHuo= Received: by 10.142.165.9 with SMTP id n9mr4844137wfe.93.1203376597366; Mon, 18 Feb 2008 15:16:37 -0800 (PST) Received: by 10.142.231.21 with HTTP; Mon, 18 Feb 2008 15:16:37 -0800 (PST) Message-ID: Date: Mon, 18 Feb 2008 16:16:37 -0700 To: "David Coallier" , "PHP Internals List" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <001c01c87264$3c01b4e0$b4051ea0$@de> <58510.98.193.37.55.1203374232.squirrel@www.l-i-e.com> Subject: Re: [PHP-DEV] RFC: Traits for PHP From: chrisstocktonaz@gmail.com ("Chris Stockton") How was his comment bashing? He asked a valid question. -Chris On Feb 18, 2008 4:08 PM, David Coallier wrote: > On Feb 18, 2008 5:37 PM, Richard Lynch wrote: > > On Mon, February 18, 2008 1:27 pm, php@stefan-marr.de wrote: > > > > > trait ezcReflectionReturnInfo { > > > function getReturnType() { /*1*/ } > > > function getReturnDescription() { /*2*/ } > > > } > > > > > > class ezcReflectionMethod extends ReflectionMethod { > > > use ezcReflectionReturnInfo; > > > > So it's just like an include for a re-used body of 'class' code. > > > > Hmmmm. > > > > Why not just allow 'include' here instead? > > Oh come on.. > > > > > :-) > > > > Forgive me if I'm missing something subtle/complex here, but I wonder > > if a Trait is really the "right answer"... > > > > Yes, the ability to add/exclude specific functions from two Traits is > > "gone" with a simple 'include'... But so is the complexity of yet > > another language construct... > > Please if you do not understand a concept, do not bash it or degrade it. > > Read the proposal, read about traits, read the thesis, read the patch, > then if you still don't understand, give up, and if you do understand, > you can complain. > > Thanks, > > > > > -- > > Some people have a "gift" link here. > > Know what I want? > > I want you to buy a CD from some indie artist. > > http://cdbaby.com/from/lynch > > Yeah, I get a buck. So? > > > > > > -- > > PHP Internals - PHP Runtime Development Mailing List > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > -- > 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 > >