[ovirt-devel] [ENGINE] thoughts about LinqUtils

Yair Zaslavsky yzaslavs at redhat.com
Thu Aug 21 10:18:34 UTC 2014



----- Original Message -----
> From: "Tal Nisan" <tnisan at redhat.com>
> To: devel at ovirt.org
> Sent: Thursday, August 21, 2014 12:42:43 PM
> Subject: Re: [ovirt-devel] [ENGINE] thoughts about LinqUtils
> 
> In general I think that LinqUtils should be deleted as soon as we move
> to Java 8 and be replaced by standard lambda expressions, that's what
> most of this class is doing anyway so it pretty much depends on when
> will we move to Java 8 to decide if it worth the effort now.

I like your idea Tal, that's an interesting thought.
Yes, indeed you can see some of the code could have been written more elegantly with Lambda


> 
> On 08/21/2014 05:50 AM, Yair Zaslavsky wrote:
> > Hi Engine developers (and others :) ),
> > I would like to share some thoughts & questions with you about the future
> > of LinqUtils
> >
> > 1. Location of LinqUtils
> >
> > Currently LinqUtils resides at utils.
> > However, as LinqUtils contains some non engine related code, I think it
> > should be moved to the new uutils (universal utils) project.
> > uutils was introduced during the work on AAA, in order to provide a set of
> > utilities that are not engine related, and hopefully in the future will be
> > published as a separate artifcat on
> > maven central (Alon, feel free to correct me here :) )
> >
> > 2. The name LinqUtils - Linq comes from c#. I think these days are way
> > behind us (3 years or so now?) i would like to suggest renaming the class.
> > CollectionUtils? Any other suggestions are more than welcome
> >
> >
> >
> > Thanks,
> > Yair
> > _______________________________________________
> > Devel mailing list
> > Devel at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/devel
> 
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
> 



More information about the Devel mailing list