Re: [picocontainer-dev] Syntax (change|improvement) proposal

Mauro Talevi <[email protected]> Tue, 05 Aug 2008 17:35:17 +0100
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
Konstantin Priblouda wrote:
> Hi all, 
> 
> I think it would be way nicer to write (and read) :
> 
> pico.addComponentAdapter(cache(construct()))
> 
> than:
> p.addComponentAdapter(new CCA(new CICA(...)))
> 
> and it  would take only some static method imports
> 
> WDYT? 
> 

+1 if it will improve readability.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email