[Ctk-developers] Coding conventions

Quadrani Paolo p.quadrani at scsolutions.it
Thu Apr 15 12:24:28 UTC 2010


Dear CTK developers,
as I saw that some code has been written and pushed to the Gti  
repository made available from Steve Pieper, I would suggest to you  
all to start thinking also at defining some coding conventions, so our  
code will looks homogeneous and nice and clear to read / understand.

In MAF3 we have defined some simple rules to follow and you can review  
them at this address: http://bit.ly/95k5rJ
If you like, I can propose to adopt them or we can start from them and  
define the CTK coding conventions.

According to those rules, we have already some python scripts that  
automatically checks that all of those rules are respected in source  
code written and committed in the repository.

Attached you can find a couple of MAF3 classes (as example) that I  
wrote for the framework.

Cheers

Paolo Quadrani
_________________________________
BioComputing Competence Centre
SCS s.r.l.

Via Magnanelli 6/3, 40033
Casalecchio di Reno
Italy
http://bit.ly/9pqADE




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20100415/fa7cbaf4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mafMemento.h
Type: application/octet-stream
Size: 1963 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20100415/fa7cbaf4/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20100415/fa7cbaf4/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mafObject.h
Type: application/octet-stream
Size: 3680 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20100415/fa7cbaf4/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20100415/fa7cbaf4/attachment-0002.htm>


More information about the Ctk-developers mailing list