On Fri, Sep 17, 2010 at 6:28 AM, Christian Kaps <christian.k...@mohiva.com> wrote: > On Fri, 17 Sep 2010 10:02:10 +0100, Richard Quadling > <rquadl...@gmail.com> wrote: >> One thing that did come to mind is if we ignore all the issues and >> complexities of actually implementing annotations, are annotations >> useful to a significant number of userland developers. On the surface, >> (and this is probably where I'm going wrong), it would seem to only >> really be of use to framework developers, and whilst there are at >> least 2.5 frameworks per developer, the vast majority of userland >> developers are not framework developers. > > This isn't right. At a first glance, yes it looks that only framework > developers can have a benefit from annotations in the core. But the > annotations extending the API of a framework so that all developers > which using this frameworks have a great benefit of them. > > Lets take as dependency injection as example. If the framework > implements this concept than the user of the framework make the usage of > this. Or the bean validation framework. This is only for the framework > users. >
I agree with Christian here, something that is "for framework developers" benefits all of the userland users that use that framework. So we are not looking at the minority of framework developers but at the majority of framework users. So i think the point of "is there use for annotations" is mute, yes there is and we don;t see more examples cause we never had it. How often did anyone suggest creating a state machine in the ZF Controller before we had goto available? once it became available we started finding uses for it. So i'm pretty sure one Annotations exist, more and more people will get familiar with it and find new ways to use it in their mindset. -- Rafael Dohms PHP Evangelist and Community Leader http://www.rafaeldohms.com.br http://www.phpsp.org.br -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php