On Sun, 26 Feb 2006, Andre Poenitz wrote: > Since LyX uses svn now and svn is a bit more forgiving when it comes > to renaming files I thought it would be a good idea to talk a bit > about 'source cosmetics', most notably renaming classes and files.
Besides being "preittier", and that we all like to tweak, I think a change like this would make it easier for a new developer to know what's what... Wouldn't this be quite a lot of work? > ... I propose to use > > CamelBump.h > CamelBump.C > > implementing > > namespace lyx { > > class CamelBump; > > } > > i.e. no {lyx,LyX,L}-prefix, instead everything in namespace lyx, usually one > class per .h/.C combo, and files named the same way as the class. I'm not at all familiar with the code... is the majority of the classes in the lyx namespace? > I'd probaly also rename math_fooinset/MathFooInset to InsetFoo/InsetFoo. Eh... also in the lyx namespace? > Opinions? I'd probably not notice that the lyx namespace is assumed as default when there's nothing in the name that indicates this. I wouldn't mind having something like 'lyx_' prepended to indicate the namespace. /Christian -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr