ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

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

From: Guy Harris <guy@xxxxxxxxxxxx>
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.