1 Mar 2009 12:11
Re: [groovy-dev] <at> Use ast transformation
just recalled this thread.
we could avoid having too many ways to do things by....
obsolete the use(XXXX){} usage which becomes ugly in compare to annotation!
regards,
mingfai
On Mon, Oct 13, 2008 at 9:36 PM, Guillaume Laforge <glaforge-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
My feeling on <at> Use is that if it's just another notation for use() {},
I don't see too much the need for it.
In the end, Groovy would become Perl if we offer too many ways to do
something we can already do differently
On Mon, Oct 13, 2008 at 3:15 PM, Guillaume Laforge <glaforge-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> What's wrong with lexical scoping?
> On the contrary, it seems like a desirable feature.
>
> On Mon, Oct 13, 2008 at 2:58 PM, Dierk König <dierk.koenig-vS5zOjhOW+wAvxtiuMwx3w@public.gmane.org> wrote:
>> +1
>>
>> Dierk
>>
>> P.S. as long as this doesn't mean lexical scoping
>>
>> | -----Original Message-----
>> | From: Alex Tkachman [mailto:alex.tkachman-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org]
>> | Sent: Montag, 13. Oktober 2008 14:16
>> | To: dev-i9PBDF1N6cyNMHH3USLmrg@public.gmane.orgus.org
>> | Subject: [groovy-dev] <at> Use ast transformation
>> |
>> | Any objections for adding <at> Use ast transformation, which
>> | applies listed categories to either each method in the class
>> | or particular method or constructor
>> |
>> | <at> Use(CategoryForClass_1, CategoryForClass_2) class TestClass {
>> |
>> | <at> Use(CategoryForMethod)
>> | def method () {
>> | //
>> | }
>> | }
>> |
>> |
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>> http://xircles.codehaus.org/manage_email
>>
>>
>>
>
>
>
> --
> Guillaume Laforge
> Groovy Project Manager
> G2One, Inc. Vice-President Technology
> http://www.g2one.com
>
--
Guillaume Laforge
Groovy Project Manager
G2One, Inc. Vice-President Technology
http://www.g2one.com
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email


RSS Feed