www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples

Archive Index This month's Index

Subject: Re: [libssh2] code style guideline proposal

Re: [libssh2] code style guideline proposal

From: James Housley <jim_at_thehousleys.net>
Date: Sat, 14 Apr 2007 13:00:41 -0400

On Apr 14, 2007, at 11:18 AM, Sara Golemon wrote:

>> I would like to propose some code style guidelines:
>> - replace all tabs with 4 spaces, and use from now on spaces only.
>> - either allways place the opening brace in a separate line, or
>> allways append it, but dont mix both variants;
>> dont know what's best - I personally like to have it appended,
>> but that's something we should probably vote for;
>> just we should do it always the same way...
>>
>> there are probably some more things we should commonly agree to,
>> but that's what just came into mind...
>>
>> thoughts? objections?
>>
> My vote is to keep tabs, but this is a decision for the majority to
> make.

I vote for tabs because you can make the width what ever you want
while editing and force your preferences on others.

Jim

--
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
  X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
jeh@FreeBSD.org      http://www.FreeBSD.org     The Power to Serve
jim@TheHousleys.Net  http://www.TheHousleys.net
---------------------------------------------------------------------
The wise man built his network upon Un*x.
     The foolish man built his network upon Windows.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-04-14

the libssh2 team