develooper Front page | perl.perl5.porters | Postings from October 2022

Re: Named argument syntax (was Re: PSC #049 2022-01-07)

Thread Previous | Thread Next
From:
Branislav Zahradník
Date:
October 8, 2022 17:13
Subject:
Re: Named argument syntax (was Re: PSC #049 2022-01-07)
Message ID:
CAB=rbO=2t+5sHsyKFqx-gfvw-7yMhnZub7+=9u-0fKaEcnQGMQ@mail.gmail.com
Please differentiate between named argument function call syntax and named
parameter extended signatures.

What we should answer first is want we want:
- do we want to limit arguments to $ sigil (+ slurpy) ?
- do we want freedom of function user to choose how to call function? (for
examples functions in
  Postgresql, C#, Kotlin, Python)
- do we want extended constraints? (eg: $login and $oauth are mutually
exclusive, $password must be specified when $login exists)
- ...

Best regards,
Brano

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About