Yes, this is the classic debate/issue of code formatting.  It is tough for
all developers to agree on formatting style.  Everyone has their own
preference.  So we chose to put a higher priority on more substantial
coding practices, like comments, error checking, fault tolerance, code
reuse, etc.  If you have a good syntax highlighting editor, it can at least
help you find matching curly braces, etc.

Bruce Potter        STSM, Linux & AIX Cluster Development, IBM,
Poughkeepsie, NY
Email: [email protected]    Phone:  external: 845-433-7073, internal: TL
293-7073




From:   Lissa Valletta/Poughkeepsie/IBM@IBMUS
To:     xCAT Users Mailing list <[email protected]>
Cc:     xCAT Users Mailing list <[email protected]>
Date:   08/22/2011 02:50 PM
Subject:        Re: [xcat-user] xCAT coding style



Some code used perltidy  when first checked in,  but after that it is
pretty much up to the user.   We try to not change more than the required
lines after that so that we can easily compare old and new versions.    I
am afraid with the thousands of lines of xCAT code, it is a little late and
it never can be enforced anyway.
The developers guide did list some good coding practices. I personally
would just like to see more comments and error checking.
https://sourceforge.net/apps/mediawiki/xcat/index.php?title=XCAT_Developer_Guide


Lissa K. Valletta
2-3/T12
Poughkeepsie, NY 12601
(tie 293) 433-3102





From:            Eduardo Otubo <[email protected]>
To:              xCAT Users Mailing list <[email protected]>
Date:            08/22/2011 02:10 PM
Subject:                 [xcat-user] xCAT coding style



Hello all,

Correct me if I'm wrong please, but looking at the source code, I can't
find a pattern on the identation or any style at all. Is this
information correct? In affirmative case, I would suggest a pattern, so
we could improve the code maintainability, turning easy to read and make
patches.

Regards,

--
Eduardo Otubo
Software Engineer
Linux Technology Center
IBM Systems & Technology Group
Mobile: +55 19 8135 0885
[email protected]


------------------------------------------------------------------------------


uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user



------------------------------------------------------------------------------

uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user



------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to