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
Branislav Zahradník
October 8, 2022 17:13
Re: Named argument syntax (was Re: PSC #049 2022-01-07)
Message ID:
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,

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About