Re: [DISCUSS] Java version for Maven

2024-02-23 Thread Xeno Amess
Yep you got a point, I hate streams either.(especially when using streams be not necessary.) Romain Manni-Bucau 于2024年2月23日周五 22:43写道: > From my experience people hating var will also hate completionstage and at > some point streams (or they willfully embrace them just using forEach which > is

Re: [DISCUSS] Java version for Maven

2024-02-23 Thread Romain Manni-Bucau
Le ven. 23 févr. 2024 à 13:44, Elliotte Rusty Harold a écrit : > On Fri, Feb 23, 2024 at 12:23 PM Romain Manni-Bucau > wrote: > > > > @Elliotte while you are pretty right in terms of *compile* features but > it > > ignores the biggest criteria for any ASF project : the community. Even if > >

Re: [DISCUSS] Java version for Maven

2024-02-23 Thread Elliotte Rusty Harold
Yes, with var you still get type checks, unlike in Python. But I have wasted so much time debugging Python code simply because the type of a local variable wasn't right there in the declaration that I remain unconvinced var was ever a good idea. I have been convinced by experience that implicitly

Re: [DISCUSS] Java version for Maven

2024-02-23 Thread Tamás Cservenák
Howdy, Some more stats based on 2nd package from Brian https://gist.github.com/cstamas/8207f8d70882090a1c63cdedc256ec56 On Fri, Feb 23, 2024 at 2:08 PM Elliotte Rusty Harold wrote: > Yes, with var you still get type checks, unlike in Python. But I have > wasted so much time debugging Python

Re: [DISCUSS] Java version for Maven

2024-02-23 Thread Tamás Cservenák
Updated with 3.8.x and 3.9.x data, reload if opened T On Fri, Feb 23, 2024 at 2:52 PM Tamás Cservenák wrote: > Howdy, > > Some more stats based on 2nd package from Brian > > https://gist.github.com/cstamas/8207f8d70882090a1c63cdedc256ec56 > > On Fri, Feb 23, 2024 at 2:08 PM Elliotte Rusty

Re: [DISCUSS] Java version for Maven

2024-02-23 Thread Xeno Amess
I hate var. From: Tamás Cservenák Sent: Friday, February 23, 2024 9:52:08 PM To: Maven Developers List Subject: Re: [DISCUSS] Java version for Maven Howdy, Some more stats based on 2nd package from Brian

Re: [DISCUSS] Java version for Maven

2024-02-23 Thread Tamás Cservenák
One ask for a volunteer: We are all humans, and we all make mistakes. So I'd like to ask someone to reproduce these results. We should not take these for granted, as I may have missed/spoiled/broke something. All the data sources are in this thread (both sent by Brian). Thanks T On Fri, Feb 23,

Re: [DISCUSS] Java version for Maven

2024-02-23 Thread Tamás Cservenák
Make love not var! T On Fri, Feb 23, 2024 at 3:09 PM Xeno Amess wrote: > I hate var. > > From: Tamás Cservenák > Sent: Friday, February 23, 2024 9:52:08 PM > To: Maven Developers List > Subject: Re: [DISCUSS] Java version for Maven > > Howdy, > > Some more

Re: [DISCUSS] Java version for Maven

2024-02-23 Thread Elliotte Rusty Harold
On Fri, Feb 23, 2024 at 12:20 AM Robert Dean wrote: > That being said, if retiring Java 8 and lower output support allows > Maven to shed technical debt and deliver improvements faster, I'd get > over my disappointment. :) Given the amount of tech debt still in Maven from Maven 2 and earlier, I

Re: [DISCUSS] Java version for Maven

2024-02-23 Thread Romain Manni-Bucau
@Elliotte while you are pretty right in terms of *compile* features but it ignores the biggest criteria for any ASF project : the community. Even if silly, attracting people with Java 8 is born dead today (to illustrate it just ask somebody to no more use "var" to do a PR for ex, he will start to

Re: [DISCUSS] Java version for Maven

2024-02-23 Thread Elliotte Rusty Harold
On Fri, Feb 23, 2024 at 12:23 PM Romain Manni-Bucau wrote: > > @Elliotte while you are pretty right in terms of *compile* features but it > ignores the biggest criteria for any ASF project : the community. Even if > silly, attracting people with Java 8 is born dead today (to illustrate it > just

Re: [DISCUSS] Java version for Maven

2024-02-23 Thread Michael Bien
On 23.02.24 01:42, Hunter C Payne wrote: The performance benefits aren't provided by the compiler, they come from hotspot and that's the JVM version at runtime that matters there. this is only partially correct. Many optimizations are based on invokedynamic which only exists post bytecode

Re: [DISCUSS] Java version for Maven

2024-02-23 Thread Romain Manni-Bucau
>From my experience people hating var will also hate completionstage and at some point streams (or they willfully embrace them just using forEach which is a counter usage IMHO). Every time I digged it was 100% a knowledge+(IT) culture thing. But once again, I'm not sure it is about us - if so I