Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35669 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2470 invoked by uid 1010); 20 Feb 2008 23:51:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 2455 invoked from network); 20 Feb 2008 23:51:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2008 23:51:40 -0000 Authentication-Results: pb1.pair.com header.from=jochem@iamjochem.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=jochem@iamjochem.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain iamjochem.com from 194.109.193.121 cause and error) X-PHP-List-Original-Sender: jochem@iamjochem.com X-Host-Fingerprint: 194.109.193.121 mx1.moulin.nl Linux 2.6 Received: from [194.109.193.121] ([194.109.193.121:40899] helo=mx1.moulin.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E6/CF-30965-90DBCB74 for ; Wed, 20 Feb 2008 18:51:39 -0500 Received: from localhost (localhost [127.0.0.1]) by mx1.moulin.nl (Postfix) with ESMTP id E9C6F27E1A7; Thu, 21 Feb 2008 00:51:34 +0100 (CET) X-Virus-Scanned: amavisd-new at moulin.nl Received: from mx1.moulin.nl ([127.0.0.1]) by localhost (mx1.moulin.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B2W6RL8ufobq; Thu, 21 Feb 2008 00:51:29 +0100 (CET) Received: from [10.0.13.105] (ip129-15-211-87.adsl2.versatel.nl [87.211.15.129]) by mx1.moulin.nl (Postfix) with ESMTP id 39D6927E19D; Thu, 21 Feb 2008 00:51:29 +0100 (CET) Message-ID: <47BCBD01.6080101@iamjochem.com> Date: Thu, 21 Feb 2008 00:51:29 +0100 User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: John Campbell CC: internals Mailing List References: <001c01c87264$3c01b4e0$b4051ea0$@de> <1203453089.24580.12.camel@localhost> <1615703844.20080219214224@marcus-boerger.de> <47BB41F1.40607@iamjochem.com> <8f0676b40802201226j74e100dta71f7d8d90364b4a@mail.gmail.com> In-Reply-To: <8f0676b40802201226j74e100dta71f7d8d90364b4a@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] RFC: Traits for PHP From: jochem@iamjochem.com (Jochem Maas) John Campbell schreef: > On Tue, Feb 19, 2008 at 3:54 PM, Jochem Maas wrote: >> how about 'possesses' or 'exhibits' - both these words are closer to the >> natural language usage of 'trait' with regard to a subject. >> >> John exhibits a **** trait >> Jack possesses a **** trait >> >> a person coming accross 'use' or 'include' in the context of >> trait attribution may either make assumptions or become confused as to >> possible changes/additions to the use and/or include functionality, a >> new keyword that aptly describes the intention will more likely force >> users to actually find out what it means. > > IMO, the keyword should be a verb because the code is instructing the > class to add a behavior. "possesses" and "exhibits" are adjectives > which doesn't make much sense. My vote would be something like > "acquire". that's a good point - someone else mentioned 'consumes' which also seems to fit quite nicely. my main point was to use a different keyword to either 'use' or 'include' to avoid misconception, assumptions and basically get anyone not familiar with the syntax to actually RTFM (I'd probably be guilty of glossing over it, if I saw 'include' myself ... ;-) personally I like 'exhibits' ... it sounds right, to me. I don't agree with the argument that non english speaking users would have problems with such a word any more than most other keywords already in use (e.g. 'implements') ... although the spelling of 'possesses' could indeed be rather annoying :-) > > Regards, > John Campbell >