[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: sunday afternoon whishlist
- From: Henk Boom <henk@...>
- Date: Fri, 4 Jun 2010 11:55:48 -0400
On 2 June 2010 15:15, Petite Abeille <petite.abeille@gmail.com> wrote:
>
> On Jun 2, 2010, at 6:22 PM, Stuart P. Bentley wrote:
>
>> If you find you're having a lot of trouble with functions taking the wrong number of parameters, consider using this:
>
> Hmmm... perhaps this is just a lack of imagination on my side, but... how would superfluous parameters ever matter?
Like missing parameters, superfluous parameters often indicate
call-site bugs. In the case that a function wanted to allow
superfluous parameters, it could use '...'.
henk