glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[glob2-devel] coding guidlines


From: Leo Wandersleb
Subject: [glob2-devel] coding guidlines
Date: Mon, 20 Oct 2008 01:45:24 +0200
User-agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724)

hi

i'm thinking a lot about how to attract more people to glob2 and somehow all of 
a sudden we have now many people rather active at the same time after some 
weeks of no action at all.
still many complain about the code beeing unreadable and i'd like to start and 
improve that.

what do you think about the following guidlines?
- one class per file (i've seen files with 5900 lines.)
- a folder hirarchy reflecting the namespace usage.
- every public attribute has to be commented (use /// or /** */ so doxygen 
works) even when the name is speaking so the comment is nothing more than this 
name.
- (every variable and private methode/attribute should be treated the same)

Unfortunately Eclipse/CDT does not allow refactoring like i'm used to have it 
at work else i'd like to rename so many classes and attributes for consistency. 
Did anybody succeed to savely rename public methodes in eclipse in c/c++??

greetings,

leo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]