Posted by
Ferdinando M. Ametrano-3 on
URL: http://quantlib.414.s1.nabble.com/Re-QuantLib-svn-SF-net-SVN-quantlib-10331-trunk-QuantLib-tp9414p9415.html
On 4/23/07, Luigi Ballabio <
[hidden email]> wrote:
> Is there any reason why on the one hand the header
> marketmodelconstrainedevolver.hpp became constrainedevolver.hpp while on
> the other hand exercisevalue.hpp became marketmodelexercisevalue.hpp?
The classes were named ConstrainedEvolver and MarketModelExerciseValue
respectively, so I just renamed the files from the classes, to fix the
confusion. I agree that MarketModelExerciseValue could be renamed just
ExerciseValue...
> Were we to choose, I'd go for the short format since the files are
> contained in the marketmodel directory anyway. I wouldn't worry that the
> class name doesn't match exactly the file name---and after all, it does
> match if we take the parent folder into account.
I prefer whenever possible the file name to match the class name. Any
alternative can easily have some ambiguity, e.g. for classes as
ParametricExercise (in the montecarlo folder) and
MarketModelParametricExercise (in the marketmodel folder)
ciao -- Nando
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev