Re: RFC: Traits for PHP

From: Date: Wed, 20 Feb 2008 20:26:05 +0000
Subject: Re: RFC: Traits for PHP
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-35660@lists.php.net to get a copy of this message
On Tue, Feb 19, 2008 at 3:54 PM, Jochem Maas <jochem@iamjochem.com> 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". Regards, John Campbell

« previous php.internals (#35660) next »