I also find it confusing, in particular because it's not obvious, and
there's some redundancy already with @Lazy (and Paolo has a good point as
well as using closures are somewhat of a palliative as well)
Perhaps we could think of ways to further improve / expand @Lazy perhaps?
(rather than inventing something new / additional)

On Sat, Mar 17, 2018 at 12:01 PM, Paolo Di Tommaso <
paolo.ditomm...@gmail.com> wrote:

> Frankly I found this confusing, it looks to me that the same concept can
> be implemented just using a closure.
>
>
> p
>
> On Sat, Mar 17, 2018 at 9:08 AM, Daniel.Sun <sun...@apache.org> wrote:
>
>> Hi Guillaume,
>>
>> I planed to generate proxy for lazy evaluation, so even if the reference
>> of
>> object is accessed, evaluation will not be triggered either, which is
>> different from @Lazy
>>
>> Cheers,
>> Daniel.Sun
>>
>>
>>
>>
>> --
>> Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
>>
>
>


-- 
Guillaume Laforge
Apache Groovy committer & PMC Vice-President
Developer Advocate @ Google Cloud Platform

Blog: http://glaforge.appspot.com/
Social: @glaforge <http://twitter.com/glaforge> / Google+
<https://plus.google.com/u/0/114130972232398734985/posts>

Reply via email to