Re: PHP 5.4 - Meta attribute (aka. Annotations) support discussion
| From: | Larry Garfield | Date: | Thu, 18 Nov 2010 05:16:44 +0000 |
| Subject: | Re: PHP 5.4 - Meta attribute (aka. Annotations) support discussion | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50318@lists.php.net to get a copy of this message | ||
On Wednesday, November 17, 2010 5:56:05 am Ferenc Kovacs wrote:
> On Wed, Nov 17, 2010 at 12:54 PM, Ferenc Kovacs <info@tyrael.hu> wrote:
> > On Wed, Nov 17, 2010 at 11:58 AM, Arvids Godjuks
> > <arvids.godjuks@gmail.com
> >
> > > wrote:
> >> Hello Internals!
> >>
> >> For me, as a user-land developer, this issue seems as if some people
> >> are trying to push the annotations at any cost. What they fail to see,
> >> is that annotations are never described what they are and how they can
> >> be useful in our developer work. Right now I, and I think many other
> >> user-land developers, just fail to see what the annotations are
> >> without any meaningful example.
*snip*
> On the other hand: it seems that more examples about the usage wouldn't
> hurt in the RFC...
>
> Tyrael
I have to agree with this sentiment in particular. As I've not worked in a
language with formal annotations, I still don't grok the use case.
To those supporting some form of syntactic annotations (whatever the syntax),
can you please explain, simply and preferably with examples, what I could do
with such syntax that I cannot do now in user-space, and/or what I could do
better/faster/cheaper with such tools than what I can do now in user-space?
I think that's the missing piece here: The practical ever-day example of how
*my* code would get better because of annotations.
--Larry Garfield