We're now a non-profit! Support open source packet analysis by making a donation.

Wireshark-dev: Re: [Wireshark-dev] Packet direction detection from dissector level

From: Guy Harris <[email protected]>
Date: Fri, 12 Feb 2010 00:20:54 -0800
On Feb 11, 2010, at 10:49 PM, Jaap Keuter wrote:

> Tabs vs. spaces. Preferred are spaces.  Next are opening tabs, so only  
> at the start of the line. But first and foremost a consistent style is  
> important.

...and note that there is no guarantee whatsoever that the software somebody else uses to edit or view a file will treat a tab character as expanding to any given number of spaces - no guarantee of tab stops every 4 spaces, no guarantee of tab stops every 8 spaces, no guarantee that any comment you put into the file will cause an editor to put tab stops in particular places, no guarantee that a particular developer will have configured their editor/IDE/whatever to put tab stops every 4 spaces or 8 spaces or whatever.