Re: Coding style for new files



On 2003.09.06 22:09, PeterBloomfield@bellsouth.net wrote:
> With the addition of a lot of code in libbalsa/imap (in cvs HEAD), we  
> have the opportunity to get the coding style right!
> 
> HACKING asks that new code follow the Gnome standard, but then  
> suggests Gnumeric's HACKING file for reading--and there, 8-space tabs  
> are required!
> 
> The new files currently seem closest to the output of `indent -kr - 
> psl -i2', though not exactly so. Having them conform to *some* way of  
> using indent would be really handy--personally, I'm quite agnostic  
> about the details, I'd just like to have some!
> 
> Suggestions?

why not just follow the GNU coding standards? i.e. indent -gnu  I've  
been doing this for years now, hated it at first but it does seem to  
show code structure more clearly than anything else I've ever tried.

Brian



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