Liste des Groupes | Revenir à l c |
On 02/03/2025 01:24, Keith Thompson wrote:[...]Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
>That wouldn't surprise me. - I know it from Perl. - Which otherFor example, it exists in Ada since 1983. The following are all
(earlier) languages do you have in mind? - What's its origin?
equivalent, given that Foo takes integer arguments Arg1 and Arg2:
Foo(Arg1 => 10, Arg2 => 20);
Foo(Arg2 => 20, Arg1 => 10);
Foo(10, Arg2 => 20);
Foo(10, 20);
The syntax is IMHO much nicer than using /*...*/ comments in C.
Does it have optional arguments with default values? IMO keyword
arguments are much less useful without that feature/
Les messages affichés proviennent d'usenet.