Andre Poenitz wrote:
On Wed, Apr 25, 2007 at 10:07:56AM -0500, Bo Peng wrote:
PS. I like to be consistent in the naming, but what are the guidelines?
Guideline1:  classname = filename. Because classnames are in
uppercase, files are also named in this way. src/insets/*,
src/mathed/* and src/graphics/* follow this guideline well so these
are what I have renamed so far.

Guideline2: clean or merge helper files. If they can not be merged,
some special format may be used although I tend to continue to use
upper case (for visual consistency, although inconsistency is desired
by many :-). So, let us decide between

a. FrontendHelper
b. frontendHelper
c. Frontend_helper
d. frontend_helper

This format will also be applied to _fwd and _pimpl and _funcs.

My favourite is 'a.'.

the casing suggests the presence of a Frontend class somewhere.

if the file contains functions used in the frontend but not related to a Frontend class then i think that d. makes most sense...


Reply via email to