This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: usage of tab in the indentation...


On Sep 12, 12:45pm, Joel Brobecker wrote:

> That's fair enough. I know it would cause some of us some problems
> to switch to spaces, so wasn't really hoping for a change in policy,
> but I'm still curious as to why we used tabs and not spaces. What are
> the benefits?

I'm not sure that there are any real benefits anymore, just inertia.  ;-)
At one time, I suspect that using tabs instead of spaces might've been
viewed as a space (as in storage) conserving measure.

One of the things which annoys me is that tabs mean different things
to different people.  I haven't found this to be an issue recently,
but there have been times when I've worked with code where the size of
the tab wasn't 8 and during those times, I wished we could all agree
to just do away with tabs.

> In the meantime, I take it people will not yell if the indentation in a
> patch looks a bit bizarre :-)...

I've gotten used to it.

Kevin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]