Re: Function naming: Problems and proposed solution

> And perhaps that could be formalised into the language syntax so instead of
>
> serialize($x, map{'method':'json', 'indent':true()})
>
> you can write
>
> serialize($x, method: 'json', indent: true())

If we’re going to go that far, named function arguments and default
values for function arguments would be nice.

                                        Be seeing you,
                                          norm

--
Norm Tovey-Walsh
Saxonica

Received on Wednesday, 2 December 2020 12:23:02 UTC