|
From: | Tom Holroyd |
Subject: | Re: Default arguments |
Date: | Thu, 14 Dec 2006 23:00:20 -0500 (EST) |
On Thu, 14 Dec 2006, John W. Eaton wrote:
Wouldn't it be better to have the syntax function foo (arg = default_val)
yes, much
As you note, there is the possiblity of a future incompatibility with Matlab. Is this feature worth the risk?
they will very likely copy this syntax. if they do not, they will be screwing themselves; if they don't implement it, fine
[Prev in Thread] | Current Thread | [Next in Thread] |