groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paul <>
Subject Re: extending a class with an @Delegate
Date Wed, 29 Mar 2017 14:05:00 GMT
Hi Jochen,

Am 23.03.2017 um 13:53 schrieb Jochen Theodorou:
> How about not working with Delegate and instead use a category for the
> methods and just return a list?

thank for that suggestion, somehow I missed Groovys Categories 
completely. After playing around with them for a while, I decided that 
my approach (chaining functions which each return a modified list) was 
too complex; working with the list directly seems more groovy ;-)

typed with Neo 2 -- an ergonomically optimized keyboard layout
for German, English, programming, and science

View raw message