On Tue, May 19, 2020 at 6:54 PM Sylwester Lachiewicz
<[email protected]> wrote:
>
> Hi,
> I would prefer to keep in sync a minimal version of Java version for Maven
> Core and Resolver so we can use all goodies from Java 8 like mentioned
> streams, default methods.
> Real cases - https://jira.apache.org/jira/browse/MNG-6444  migrate code to
> use NIO

NIO is fully functional in Java 7, I think. Certainly you can use Path there.

> Resolver is about to navigate through the graph - so maybe some parts will
> look better, would be easier to understand or can be implemented in a more
> efficient way?

I'd be pleasantly surprised if this proves to be the case. I spend a
**lot** of time in code reviews and refactoring fighting against
incomprehensible lambdas. Maybe one time in ten, I find a lambda more
readable than the alternative. I have **never** encountered a
production use of lambdas that was more efficient than the
alternative.

-- 
Elliotte Rusty Harold
[email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to