Re: fin

2018-07-21 Thread J. David Beutel
Personally, I don't think that having the "fin" keyword alternative would be good. I think it would discourage usage, as examples get split between "fin" and "final", and people don't already know what "fin" means. Cheers, 11011011 On 07/21/2018 11:50 AM, MG wrote: Hi guys, I have been wond

Re: About eliminating ambiguities safe indexing and ternary expression

2020-05-07 Thread J. David Beutel
On 2020-05-07 13:43 , Daniel.Sun wrote: ``` // https://issues.apache.org/jira/browse/GROOVY-9522 def a() { null } def b() { '' } a()?[b(), a()].join(','):b() // statement with ambiguities ``` The above statement with ambiguities can be parsed into: 1) safe indexing expression, `a()?[[b(), a()

Re: [DISCUSS] Groovy 5 planning

2022-05-10 Thread J. David Beutel
One thing to consider is the EOL schedule, of course.  Oracle advertises[1] "extended support" for its Java customers for: JDK version until 8 2030* 11 2026 17 2029 * "The Extended Support uplift fee will be waived for the period March 2022 - December 2030 for

Re: Future.get(Duration) by default with extension module?

2023-06-07 Thread J. David Beutel
I understand that this refers to the java.time.Duration that was introduced in JDK 8.  However, Groovy already had the groovy.time.Duration, so including the package name might help avoid some confusion. On 2023-06-07 07:41 , Marcin Zajączkowski wrote: Hi, In my Spock tests, to check some as