On Thu, Apr 4, 2013 at 4:57 PM, Zdenek Styblik <zdenek.styb...@gmail.com> wrote: > On Thu, Apr 4, 2013 at 9:51 PM, Dan Gora <d...@adax.com> wrote: >> 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. >> > > What? How's that relevant what number we use for tab stops? It's > tabulator, not a bunch of white spaces.
I don't understand what you are saying.... If you write code which goes up to column 80 with tabstops set to 4, then type ':set ts=8' in vi, you'll see that the lines will all wrap, right? It turns it into an utter mess. How is a random person going to know how many spaces you use for tabstops that you write the code with? That's why you use the standard number: 8. 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