groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Harvey <>
Subject Re: Improving named-argument support
Date Tue, 16 Jan 2018 21:44:53 GMT
Paul, I am very much in favor of this idea, but I do not like the execution.
The need for those annotations makes it quite verbose and it seems a bit too
complex. I agree with Daniil that having the "required" flag is also
unnecessary. @NamedParam seems like it should be assumed. I understand the
use case of @NamedDelegate but again, it adds complexity. Ideally you would
only need one annotation to the method for a sensible default case.

Sent from:

View raw message