On Tue, May 10, 2011 at 11:40 AM, Sebastian Bergmann <sebast...@php.net>wrote:

> Am 09.05.2011 21:33, schrieb Stefan Marr:
> > That is how open source works.
>
>  Traits is a perfect example, indeed: you came to the list with a clear
>  specification of the feature as well as arguments for why you think the
>  feature is useful. Moreover, you provided tests that reflected the
>  specification and a patch that implemented the specification and
>  satisfied the tests.
>

how is it different from the annotations proposed by Guilherme and Pierrick?
the only difference that the traits got accepted and the annotations not
(yet), but they were both announced ~ the same time, both were backed up
with rfc, implementation and tests.
http://marc.info/?l=php-internals&m=128274106801222&w=2
if you follow the topic, you will see that the same people brought up the
same arguments against adding traits than we can see about
annotations(comparing traits to include, annotations to docblocks,
performance problems, playing the bloated card, etc.), but they were
overwhelmed by the positive feedback and the buzz about what can be further
improved, etc.
it seems that annotations lacked the critical mass when it was proposed. :(

Tyrael

Reply via email to