1 Aug 2006 11:46
Formatting of source code (Was: Ada language module for SWIG)
Henning Thielemann <swig <at> henning-thielemann.de>
2006-08-01 09:46:46 GMT
2006-08-01 09:46:46 GMT
> Date: Mon, 31 Jul 2006 21:21:01 +0100 > From: William S Fulton <wsf <at> fultondesigns.co.uk> > Subject: Re: [Swig-devel] Ada language module for SWIG > To: rod <rodkay <at> mullum.com.au> > Cc: William S Fulton <wsf <at> fultondesigns.co.uk>, > swig-devel <at> lists.sourceforge.net > Message-ID: <44CE662D.2030302 <at> fultondesigns.co.uk> > Content-Type: text/plain; charset=ISO-8859-1 > > >> Code gets copied and pasted a lot between various modules so please > >> follow the same style otherwise a dogs dinner will ensue, eg curly brace > >> positioning, tab size, 2 space indenting etc. Extra vertical space ssems > >> okay. My particular preference is not for the style that is used in > >> SWIG, but I'm not so arrogant to impose my own style on the code I > >> maintain. Keeping the variable names the same as other modules will also > >> help a lot, eg Node *n, String *tm if you aren't already doing that. > > > > Ok, I'll re-format the code to follow SWIG style. > > > Cool, it will help everyone long term. Maybe I already noted that: I prefer having some code formatting tool rather than trying to manually format the sources appropriately to the projects I'm involved. What about specifying the options for 'indent' that make the code look like it is prefered for SWIG? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your(Continue reading)
RSS Feed