|
From: Luigi B. <lui...@gm...> - 2008-01-28 13:05:00
|
On Wed, 2008-01-23 at 18:41 +0100, Ferdinando Ametrano wrote: [ ... about default parameters in Black formulas ... ] > > What about considering alternatives? E.g. removing default parameters > from discount and displacement would partially force the user to look > at the function again... Or possibly something like blackFormulaImpliedStdDev(price, etc) .withGuess(guess) .withDisplacement(d); What do you think? > Besides I can grant you that if you use the old guess as displacement > you might have no problem at compile time but you're gonna notice at > run time, so it would an evident change. I had no doubt about it :) The problem is that unlike a compilation error, just seeing wrong numbers come out makes more difficult to pinpoint what changed and in what file. Luigi -- Zawinski's Law: Every program attempts to expand until it can read mail. Those programs which cannot so expand are replaced by ones which can. |