Re: Static typing question

Agile Developer <[email protected]>
Newsgroups gmane.comp.lang.groovy.user
Message-ID <CAKmU=T_ykqcMQBNb=xUidZ8NndBtC4z_uj13PWyAj+=GiBANXg@mail.gmail.com>
I also believe the canonical

def games = Game.findAllByAverageDurationBetween(30, 90)
>

is nothing more than

def games = (new
> Gorm<Game>()).executeQuery("findAllByAverageDurationBetween",30, 90)


class Gorm<T> {
    ResultSet<T> executeQuery(String query, Object... argos)
    //caching logic
}

though Micronaut Data is a static alternative



On Sat, Dec 30, 2023 at 8:50 PM Edmond Kemokai <[email protected]> wrote:

> From the perspective of someone building products that leverage the
> dynamic language features, the answers is a resounding YES, plenty of
> reason to keep dual type support (both dynamic and static).
>
>
>

-- 
Dr. Vasileios Anagnostopoulos (MSc,PhD)
Researcher/Developer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.