Re: Static typing question

2024-01-02 Thread Agile Developer
*Alas that is not the case for JVM invoke dynamic, which is much slower > when generating a really large number of objects, which recently required > us to make a part of our SQL generation code less user friendly, to make > Groovy 3/4 with invoke dynamic as fast as the old Groovy-specifc

Re: Static typing question

2023-12-31 Thread Agile Developer
n from the answers. Vasilis On Sun, Dec 31, 2023 at 4:38 PM Jochen Theodorou wrote: > On 31.12.23 05:20, Agile Developer wrote: > > Hi, Edmond > > > > can you give me a case not covered by a typed language? I'm really > > curious, because the more I think the more

Re: Static typing question

2023-12-30 Thread Agile Developer
I also believe the canonical def games = Game.findAllByAverageDurationBetween(30, 90) > is nothing more than def games = (new > Gorm()).executeQuery("findAllByAverageDurationBetween",30, 90) class Gorm { ResultSet executeQuery(String query, Object... argos) //caching logic } though Mi

Re: Static typing question

2023-12-30 Thread Agile Developer
Hi, Edmond can you give me a case not covered by a typed language? I'm really curious, because the more I think the more I see modern PL practice/research has uncovered typed language strengths. These days, typed languages solve more and more issues traditionally solved with dynamic languages. O

Static typing question

2023-12-30 Thread Agile Developer
Hi, I was a 4 years user of Grails/Groovy (last year mostly Python). With the general trend of people moving to static languages, is there any reason that Groovy needs to stay dynamic? I see Python having the mypy approach, I see gradle moving to Kotlin and FE mostly on Typescript. I understand