Re: wishlist: user-declared parameter labels without "given"
Re: wishlist: user-declared parameter labels without "given"
- Subject: Re: wishlist: user-declared parameter labels without "given"
- From: Timothy Bates <email@hidden>
- Date: Sun, 01 Apr 2001 17:37:37 +1000
On 4/1/01 10:08 AM, "Arthur J Knapp" <email@hidden> wrote:
>
When I read scripts that make use of the labeled-parameter syntax,
>
I get a headache. There is a part of my brain that just can't sort
>
out which are the keywords, which are the variables, etc... :-0
50% agreed ;-)
>
The compromise might be to write your handlers to take a single
>
record as a parameter:
>
>
getasample( { taking: 3, from_list: {1, 2, 3, 4}, replacing: false } )
What a brilliant idea! I will give it a try.
Dr Timothy Bates <
mailto:email@hidden>
Macquarie Centre for Cognitive Science (MACCS)
Macquarie University
Ph 61 (2) 9850 8623
Fx 61 (2) 9850 6059