octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: default parameter values (was: Re: The contrast function)


From: Søren Hauberg
Subject: Re: default parameter values (was: Re: The contrast function)
Date: Tue, 25 Mar 2008 21:43:28 +0100

tir, 25 03 2008 kl. 14:47 -0400, skrev John W. Eaton:
> I'd like to know whether people think that using this style would be
> an improvement (and so we should encourage it), or whether it would be
> a possible source of confusion and we should avoid it (and perhaps
> remove the feature from Octave given the possibility of future
> compatibility issues).
I like this syntax, and use default arguments quite a bit in my own
code. Should Matlab implement default parameters some day, it seems to
me that they would be really stupid if they chose another syntax.
Basically, I think it simplifies the code, so I'd say encourage it.

Søren



reply via email to

[Prev in Thread] Current Thread [Next in Thread]