[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Arbitrary function: find the number(s) of expected arguments
From: |
Eli Zaretskii |
Subject: |
Re: Arbitrary function: find the number(s) of expected arguments |
Date: |
Sat, 19 Mar 2016 21:39:07 +0200 |
> From: Michael Heerdegen <address@hidden>
> Date: Sat, 19 Mar 2016 20:32:25 +0100
>
> So, to the question "can I call function X with that many args", the
> answer can be "maybe". In that case, the situation is not better than
> now. Since you know the answer not before run-time, this doesn't solve
> the problem in the bug report, because you still have to write
> alternative code for the "maybe" case - every time.
>
> Don't take me wrong: this patch can be useful, e.g. for generating help
> pages. But IMO it isn't useful for coding. On the contrary, I think
> advertising `func-arity' to the user with this name will lead to a lot
> of erroneous code.
I guess you won't be using this, then. And neither will I, frankly,
as I never had the need for such a function. But if someone does, I
see no reason not to provide it.
- Re: Arbitrary function: find the number(s) of expected arguments, (continued)
- Re: Arbitrary function: find the number(s) of expected arguments, Elias Mårtenson, 2016/03/26
- Re: Arbitrary function: find the number(s) of expected arguments, Stefan Monnier, 2016/03/26
- Re: Arbitrary function: find the number(s) of expected arguments, Philipp Stephani, 2016/03/19
- Re: Arbitrary function: find the number(s) of expected arguments, Paul Pogonyshev, 2016/03/19
- Re: Arbitrary function: find the number(s) of expected arguments, Eli Zaretskii, 2016/03/19
- RE: Arbitrary function: find the number(s) of expected arguments, Drew Adams, 2016/03/19
- Re: Arbitrary function: find the number(s) of expected arguments, Michael Heerdegen, 2016/03/19
- Re: Arbitrary function: find the number(s) of expected arguments,
Eli Zaretskii <=
- Re: Arbitrary function: find the number(s) of expected arguments, Michael Heerdegen, 2016/03/19
- Re: Arbitrary function: find the number(s) of expected arguments, Paul Pogonyshev, 2016/03/21
- Re: Arbitrary function: find the number(s) of expected arguments, Eli Zaretskii, 2016/03/25
- Re: Arbitrary function: find the number(s) of expected arguments, Paul Pogonyshev, 2016/03/25
- RE: Arbitrary function: find the number(s) of expected arguments, Drew Adams, 2016/03/25
- Re: Arbitrary function: find the number(s) of expected arguments, Paul Pogonyshev, 2016/03/25
- RE: Arbitrary function: find the number(s) of expected arguments, Drew Adams, 2016/03/25
- Re: Arbitrary function: find the number(s) of expected arguments, Clément Pit--Claudel, 2016/03/25
- Use plain-text for mail [was: Arbitrary function: find the number(s) of expected arguments], Drew Adams, 2016/03/25
- Re: Use plain-text for mail [, Lars Magne Ingebrigtsen, 2016/03/25