|
From: Luigi B. <lui...@gm...> - 2007-04-24 09:16:58
|
On Tue, 2007-04-24 at 10:05 +0200, Ferdinando Ametrano wrote: > > 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) Nando, true, but my point was that marketmodel/parametricexercise.hpp does match MarketModelParametricExercise. Since we use the full path in header inclusions, marketmodel/marketmodelparametricexercise.hpp is redundant. Later, Luigi ---------------------------------------- It is better to know some of the questions than all of the answers. -- James Thurber |