Re: RFC 57 (v1) Subroutine prototypes and parameters
[email protected] (Bart Lateur) Mon, 07 Aug 2000 22:42:32 +0200
| Newsgroups | perl.perl6.language.subs |
|---|---|
| Organization | MediaMind |
| Message-ID | <[email protected]> |
On Tue, 8 Aug 2000 06:28:27 +1000 (EST), Damian Conway wrote: >I'd be inclined to drop the prefixes: > > foo(x: 10, y: 20); > bar(z: 30, t: (1, 2, 3)); That doesn't look like Perl. ;-) No, seriously: unless you can read those variables as x or y, I wouldn't drop the prefixes. It's not consistent. If you use the values as $x or @t, then please, use $x and @t in the above syntax, as well. -- Bart.