On Wednesday 27 April 2005 2:19 pm, Zeev Suraski wrote:
> At 16:58 27/04/2005, Duncan McIntyre wrote:
> >I remember similar arguments being made about most of the new OO features
> >in PHP5.
> >
> >Out of interest, how is this more bloated than storing doc comments in
> > memory?
>
> It's feature bloat, not memory consumption bloat.  Adding obscure operators
> is the worst thing to do, since it reduces readability and complicates the
> language.  Comments can be ignored, removed, be completely 'broken', etc. -
> you can use them if you understand them and they're useful to you, but
> you'll never get a piece of code which you wouldn't understand because of
> the comment.  Not so with features such as attributes.
>
How about adding a new keyword instead, if you don't like @[..]?
Say, attributes(..) or metadata(..) or something we can all agree on?

D.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to