On Thu, Apr 4, 2013 at 4:47 PM, Jim Mankovich <jm...@hp.com> wrote:
>
> I would advocate always using tab for indentation.   Then you can change it
> to be any number of spaces in your editor.   This is what I generally do,
> and for
> many of the files in ipmitool I set my editor to have a tab stop of 4 so
> that
> the lines don't wrap.

yes I do use tabs for indentation, the problem is that other people
have to read your code too and have no idea how many spaces that you
use for tabstops.  So code that looks perfectly reasonable with 4
space tabstops looks like an utter mess with 8.

There is no reason to use anything other than 8 for tabstops.  This is
what most sane people expect and what most editors default to.

If ipmitool had a stated, documented, consistent coding style, I would
use it.  However it just has a mess right now, so I'm using a known,
documented, widely used style that's used in many many other open
source projects.

thanks
d

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to